浏览代码

HotFix forward compilation from shaderGraph

/scriptablerenderloop-materialgraph
Paul Demeulenaere 8 年前
当前提交
691b79fb
共有 2 个文件被更改,包括 4 次插入3 次删除
  1. 5
      Assets/ScriptableRenderLoop/HDRenderLoop/HDRenderLoop.cs
  2. 2
      Assets/ScriptableRenderLoop/HDRenderLoop/Material/Lit/Lit.template

5
Assets/ScriptableRenderLoop/HDRenderLoop/HDRenderLoop.cs


${PixelShaderInitialize}
${PixelShaderBody}
/* this clip could be integrated earlier for optimisation */
/* this clip could be integrated earlier for optimisation */
/* HotFix to keep the PreIntegratedFGD shared texture sampler */
surfaceData.specularOcclusion = max(surfaceData.specularOcclusion, 10e-5f);
}
struct Attributes

2
Assets/ScriptableRenderLoop/HDRenderLoop/Material/Lit/Lit.template


// ------------------------------------------------------------------
// forward pass
// ------------------------------------------------------------------
/* TODOPAUL : Fix Compilation
Pass
{
Name "Forward" // Name is not used

ENDHLSL
}
*/
}
CustomEditor "LitGraphUI"
}
正在加载...
取消
保存