浏览代码

Updated tonemapping for depth pyramid debug

/Yibing-Project-2
Frédéric Vauchelles 7 年前
当前提交
8e549215
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 2
      ScriptableRenderPipeline/HDRenderPipeline/Debug/DebugFullScreen.shader

2
ScriptableRenderPipeline/HDRenderPipeline/Debug/DebugFullScreen.shader


if (_FullScreenDebugMode == FULLSCREENDEBUGMODE_DEPTH_PYRAMID)
{
float4 color = SAMPLE_TEXTURE2D(_DebugFullScreenTexture, sampler_DebugFullScreenTexture, input.texcoord);
return float4(color.rrr * 10.0, 1.0);
return float4(color.rrr / (color.rrr + 1), 1.0);
}
return float4(0.0, 0.0, 0.0, 0.0);

正在加载...
取消
保存