浏览代码

HDRenderPipeline: Remove comment

/main
sebastienlagarde 7 年前
当前提交
09427415
共有 5 个文件被更改,包括 1 次插入9 次删除
  1. 2
      ScriptableRenderPipeline/Core/ShaderLibrary/CommonLighting.hlsl
  2. 2
      ScriptableRenderPipeline/HDRenderPipeline/Material/LayeredLit/LayeredLit.shader
  3. 2
      ScriptableRenderPipeline/HDRenderPipeline/Material/LayeredLit/LayeredLitTessellation.shader
  4. 2
      ScriptableRenderPipeline/HDRenderPipeline/Material/Lit/Lit.shader
  5. 2
      ScriptableRenderPipeline/HDRenderPipeline/Material/Lit/LitTessellation.shader

2
ScriptableRenderPipeline/Core/ShaderLibrary/CommonLighting.hlsl


NdotV = dot(N, V);
N = (NdotV >= 0) ? N : (N - 2 * NdotV * V);
N = (NdotV >= 0.0) ? N : (N - 2.0 * NdotV * V);
NdotV = abs(NdotV);
return N;

2
ScriptableRenderPipeline/HDRenderPipeline/Material/LayeredLit/LayeredLit.shader


ZWrite On
ZTest LEqual
// When alpha test is enabled, we should not write into the color buffer
ColorMask 0
HLSLPROGRAM

ZWrite On
// When alpha test is enabled, we should not write into the color buffer
ColorMask 0
HLSLPROGRAM

2
ScriptableRenderPipeline/HDRenderPipeline/Material/LayeredLit/LayeredLitTessellation.shader


ZWrite On
ZTest LEqual
// When alpha test is enabled, we should not write into the color buffer
ColorMask 0
HLSLPROGRAM

ZWrite On
// When alpha test is enabled, we should not write into the color buffer
ColorMask 0
HLSLPROGRAM

2
ScriptableRenderPipeline/HDRenderPipeline/Material/Lit/Lit.shader


ZWrite On
ZTest LEqual
// When alpha test is enabled, we should not write into the color buffer
ColorMask 0
HLSLPROGRAM

ZWrite On
// When alpha test is enabled, we should not write into the color buffer
ColorMask 0
HLSLPROGRAM

2
ScriptableRenderPipeline/HDRenderPipeline/Material/Lit/LitTessellation.shader


ZWrite On
ZTest LEqual
// When alpha test is enabled, we should not write into the color buffer
ColorMask 0
HLSLPROGRAM

ZWrite On
// When alpha test is enabled, we should not write into the color buffer
ColorMask 0
HLSLPROGRAM

正在加载...
取消
保存