浏览代码

Fixed light intensity issue that was causing lights to be saturated.

/RenderPassXR_Sandbox
Felipe Lira 7 年前
当前提交
6c2f7107
共有 1 个文件被更改,包括 4 次插入0 次删除
  1. 4
      ScriptableRenderPipeline/LightweightPipeline/LightweightPipeline.cs

4
ScriptableRenderPipeline/LightweightPipeline/LightweightPipeline.cs


QualitySettings.antiAliasing = m_Asset.MSAASampleCount;
Shader.globalRenderPipeline = "LightweightPipeline";
// TODO: This is at the moment required for all pipes. We should not implicitly change user project settings
// instead this should be forced when using SRP, since all SRP use linear lighting.
GraphicsSettings.lightsUseLinearIntensity = true;
}
public override void Dispose()

正在加载...
取消
保存