浏览代码

Added support for direct lighting strength to MSVO

/stochastic_alpha_test
Thomas 7 年前
当前提交
14bce4b3
共有 1 个文件被更改,包括 1 次插入0 次删除
  1. 1
      ScriptableRenderPipeline/HDRenderPipeline/HDRenderPipeline.cs

1
ScriptableRenderPipeline/HDRenderPipeline/HDRenderPipeline.cs


enableRandomWrite = true
}, FilterMode.Bilinear);
postProcessLayer.BakeMSVOMap(cmd, camera, HDShaderIDs._AmbientOcclusionTexture, GetDepthTexture(), true);
cmd.SetGlobalFloat(HDShaderIDs._AmbientOcclusionDirectLightStrenght, settings.directLightingStrength.value);
PushFullScreenDebugTexture(cmd, HDShaderIDs._AmbientOcclusionTexture, camera, renderContext, FullScreenDebugMode.SSAO);
// AO color is available at:

正在加载...
取消
保存