@@ -393,7 +393,7 @@ partial struct FrameSettings
393393 ( uint ) FrameSettingsField . MotionVectors , // Enable/disable whole motion vectors pass (Camera + Object).
394394 ( uint ) FrameSettingsField . ObjectMotionVectors ,
395395 ( uint ) FrameSettingsField . Decals ,
396- ( uint ) FrameSettingsField . DecalLayers ,
396+ ( uint ) FrameSettingsField . DecalLayers ,
397397 ( uint ) FrameSettingsField . Refraction , // Depends on DepthPyramid - If not enable, just do a copy of the scene color (?) - how to disable refraction ?
398398 ( uint ) FrameSettingsField . Distortion ,
399399 ( uint ) FrameSettingsField . Postprocess ,
@@ -467,7 +467,7 @@ partial struct FrameSettings
467467 ( uint ) FrameSettingsField . MotionVectors , // Enable/disable whole motion vectors pass (Camera + Object).
468468 ( uint ) FrameSettingsField . ObjectMotionVectors ,
469469 ( uint ) FrameSettingsField . Decals ,
470- ( uint ) FrameSettingsField . DecalLayers ,
470+ ( uint ) FrameSettingsField . DecalLayers ,
471471 //(uint)FrameSettingsField.Refraction, // Depends on DepthPyramid - If not enable, just do a copy of the scene color (?) - how to disable refraction ?
472472 //(uint)FrameSettingsField.Distortion,
473473 //(uint)FrameSettingsField.Postprocess,
@@ -797,13 +797,6 @@ internal static void Sanitize(ref FrameSettings sanitizedFrameSettings, Camera c
797797 sanitizedFrameSettings . bitDatas [ ( int ) FrameSettingsField . FPTLForForwardOpaque ] &= ! msaa ;
798798
799799 sanitizedFrameSettings. bitDatas [ ( int ) FrameSettingsField . ProbeVolume ] &= renderPipelineSettings . supportProbeVolume && ( ShaderConfig . s_ProbeVolumesEvaluationMode != ProbeVolumesEvaluationModes . Disabled ) ;
800-
801- // We disable reflection probes and planar reflections in regular preview rendering for two reasons.
802- // - Performance: Realtime reflection are 99% not necessary in previews
803- // - Static lighting consistency: When rendering a planar probe from a preview camera it may induce a recomputing of the static lighting
804- // but with the preview lights which are different from the ones in the scene and will change the result inducing flickering.
805- sanitizedFrameSettings . bitDatas [ ( int ) FrameSettingsField . ReflectionProbe ] &= ! preview ;
806- sanitizedFrameSettings. bitDatas [ ( int ) FrameSettingsField . PlanarProbe ] &= ! preview ;
807800 }
808801
809802 /// <summary>Aggregation is default with override of the renderer then sanitized depending on supported features of hdrpasset.</summary>
0 commit comments