浏览代码

add comment

/main
GitHub 8 年前
当前提交
730aa021
共有 1 个文件被更改,包括 3 次插入0 次删除
  1. 3
      Assets/ScriptableRenderLoop/HDRenderPipeline/Material/Lit/LitData.hlsl

3
Assets/ScriptableRenderLoop/HDRenderPipeline/Material/Lit/LitData.hlsl


ApplyDepthOffsetAttribute(depthOffset, input);
#endif
// We perform the conversion to world of the normalTS outside of the GetSurfaceData
// so it allow us to correctly deal with detail normal map and optimize the code for the layered shaders
// Caution: surfaceData must be fully initialize before calling GetBuiltinData
GetBuiltinData(input, surfaceData, alpha, depthOffset, builtinData);
}

正在加载...
取消
保存