浏览代码

Made sure that debug parameters such as debug exposure were not applied when updating environment lighting.

/Branch_DebugExposure
Julien Ignace 7 年前
当前提交
125e6bea
共有 1 个文件被更改,包括 1 次插入0 次删除
  1. 1
      ScriptableRenderPipeline/HDRenderPipeline/HDRP/Sky/SkyRenderingContext.cs

1
ScriptableRenderPipeline/HDRenderPipeline/HDRP/Sky/SkyRenderingContext.cs


m_BuiltinParameters.screenSize = m_CubemapScreenSize;
m_BuiltinParameters.cameraPosWS = camera.camera.transform.position;
m_BuiltinParameters.hdCamera = null;
m_BuiltinParameters.debugSettings = null; // We don't want any debug when updating the environment.
int sunHash = 0;
if (sunLight != null)

正在加载...
取消
保存