浏览代码

Updated debugs

/feature-ScreenSpaceProjection
Frédéric Vauchelles 7 年前
当前提交
4e3afe4c
共有 1 个文件被更改,包括 10 次插入2 次删除
  1. 12
      ScriptableRenderPipeline/HDRenderPipeline/HDRP/Debug/DebugFullScreen.shader

12
ScriptableRenderPipeline/HDRenderPipeline/HDRP/Debug/DebugFullScreen.shader


col = float4(1, 1, 1, 1);
if (SampleDebugFontNumber(posInput.positionSS - p - uint2(100, 00), debug.level))
col = float4(1, 1, 1, 1);
if (SampleDebugLetter(posInput.positionSS - p - uint2(112, 00), '/'))
col = float4(1, 1, 1, 1);
if (SampleDebugFontNumber(posInput.positionSS - p - uint2(124, 00), debug.levelMax))
col = float4(1, 1, 1, 1);
p += uint2(00, 20);
isValid = false;

if (SampleDebugFontNumber(posInput.positionSS - p - uint2(100, 00), debug.iteration))
col = float4(1, 1, 1, 1);
if (SampleDebugFontNumber(posInput.positionSS - p - uint2(100, 00), debug.iteration + 1))
col = float4(1, 1, 1, 1);
if (SampleDebugLetter(posInput.positionSS - p - uint2(112, 00), '/'))
col = float4(1, 1, 1, 1);
if (SampleDebugFontNumber(posInput.positionSS - p - uint2(124, 00), debug.iterationMax))
col = float4(1, 1, 1, 1);
p += uint2(00, 20);
}

正在加载...
取消
保存