浏览代码

Merge pull request #1832 from Unity-Technologies/RemoveSSSInLuxMeter

Disable SSS when luxmeter is enabled
/main
GitHub 6 年前
当前提交
d0830c44
共有 1 个文件被更改,包括 6 次插入0 次删除
  1. 6
      com.unity.render-pipelines.high-definition/HDRP/RenderPipeline/HDRenderPipeline.cs

6
com.unity.render-pipelines.high-definition/HDRP/RenderPipeline/HDRenderPipeline.cs


{
currentFrameSettings.enablePostprocess = false;
}
// Disable SSS if luxmeter is enabled
if (debugDisplaySettings.lightingDebugSettings.debugLightingMode == DebugLightingMode.LuxMeter)
{
currentFrameSettings.enableSubsurfaceScattering = false;
}
var hdCamera = HDCamera.Get(camera);

正在加载...
取消
保存