浏览代码

Debug Tangent Normal ----> World Normal

/projects-TheLastStand
John Parsaie 7 年前
当前提交
00c5cc80
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 2
      ScriptableRenderPipeline/LightweightPipeline/LWRP/ShaderLibrary/LightweightPassLit.hlsl

2
ScriptableRenderPipeline/LightweightPipeline/LWRP/ShaderLibrary/LightweightPassLit.hlsl


#elif defined(_DEBUG_METALNESS)
debug = surfaceData.metallic;
#elif defined(_DEBUG_NORMALS)
debug = sqrt(surfaceData.normalTS);
debug = sqrt(inputData.normalWS);
#elif defined(_DEBUG_SMOOTHNESS)
debug = surfaceData.smoothness;
#endif

正在加载...
取消
保存