浏览代码

Fixed comments

/Yibing-Project-2
Frédéric Vauchelles 7 年前
当前提交
e68d82fd
共有 2 个文件被更改,包括 2 次插入2 次删除
  1. 2
      ScriptableRenderPipeline/HDRenderPipeline/ShaderPass/ShaderPassForward.hlsl
  2. 2
      ScriptableRenderPipeline/HDRenderPipeline/ShaderPass/ShaderPassForwardUnlit.hlsl

2
ScriptableRenderPipeline/HDRenderPipeline/ShaderPass/ShaderPassForward.hlsl


#endif
#ifdef DEBUG_DISPLAY
// Same code in ShaderPassForward.shader
// Same code in ShaderPassForwardUnlit.shader
if (_DebugViewMaterial != 0)
{
float3 result = float3(1.0, 0.0, 1.0);

2
ScriptableRenderPipeline/HDRenderPipeline/ShaderPass/ShaderPassForwardUnlit.hlsl


float4 outColor = float4(bsdfData.color + builtinData.emissiveColor, builtinData.opacity);
#ifdef DEBUG_DISPLAY
// Same code in ShaderPassForwardUnlit.shader
// Same code in ShaderPassForward.shader
if (_DebugViewMaterial != 0)
{
float3 result = float3(1.0, 0.0, 1.0);

正在加载...
取消
保存