Skip to content

Commit

Permalink
Probe Volumes: Fix exposure in Probe Volume debug modes (ensure no ex…
Browse files Browse the repository at this point in the history
…posure is applied (#19)

Co-authored-by: pastasfuture <nickb@bonfirestudios.com>
  • Loading branch information
pastasfuture and pastasfuture committed Sep 15, 2021
1 parent 3536bc5 commit 2f3f389
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -1983,7 +1983,7 @@ internal bool DebugNeedsExposure()
(data.lightingDebugSettings.overrideAlbedo || data.lightingDebugSettings.overrideNormal || data.lightingDebugSettings.overrideSmoothness || data.lightingDebugSettings.overrideSpecularColor || data.lightingDebugSettings.overrideEmissiveColor || data.lightingDebugSettings.overrideAmbientOcclusion) ||
(debugGBuffer == DebugViewGbuffer.BakeDiffuseLightingWithAlbedoPlusEmissive) || (data.lightingDebugSettings.debugLightFilterMode != DebugLightFilterMode.None) ||
(data.fullScreenDebugMode == FullScreenDebugMode.PreRefractionColorPyramid || data.fullScreenDebugMode == FullScreenDebugMode.FinalColorPyramid || data.fullScreenDebugMode == FullScreenDebugMode.TransparentScreenSpaceReflections || data.fullScreenDebugMode == FullScreenDebugMode.ScreenSpaceReflections || data.fullScreenDebugMode == FullScreenDebugMode.ScreenSpaceReflectionsPrev || data.fullScreenDebugMode == FullScreenDebugMode.ScreenSpaceReflectionsAccum || data.fullScreenDebugMode == FullScreenDebugMode.LightCluster || data.fullScreenDebugMode == FullScreenDebugMode.ScreenSpaceShadows || data.fullScreenDebugMode == FullScreenDebugMode.NanTracker || data.fullScreenDebugMode == FullScreenDebugMode.ColorLog || data.fullScreenDebugMode == FullScreenDebugMode.Grayscale) || data.fullScreenDebugMode == FullScreenDebugMode.ScreenSpaceGlobalIllumination ||
(debugLighting == DebugLightingMode.ProbeVolume || debugProbeVolume == ProbeVolumeDebugMode.VisualizeAtlas);
(debugLighting == DebugLightingMode.ProbeVolume && debugProbeVolume == ProbeVolumeDebugMode.VisualizeAtlas);
}
}
}

0 comments on commit 2f3f389

Please sign in to comment.