Viconthebeach
2 years agoProtege
Set HDR enabled/disabled at runtime?
Passthrough still won't works (black screen) if HDR is enabled in the render pipeline asset settings,
so I must build the project with HDR disabled.
How can I activate HDR when the passthrough stage is done to get post processing effects on ?
Actually I can successfully tick from script the HDR option, but it is not activating post processing effects at runtime.
// This ticks the checkbox while running on editor, but no effects at runtime on the headset.
var urpAsset = (UniversalRenderPipelineAsset)GraphicsSettings.renderPipelineAsset;
urpAsset.supportsHDR = true;