浏览代码

Add a comment

/Yibing-Project-2
Evgenii Golubev 7 年前
当前提交
9d6e296f
共有 1 个文件被更改,包括 6 次插入0 次删除
  1. 6
      ScriptableRenderPipeline/HDRenderPipeline/Lighting/VBuffer.hlsl

6
ScriptableRenderPipeline/HDRenderPipeline/Lighting/VBuffer.hlsl


[branch] if (clampToEdge || isInBounds)
{
#if 0
// We could ignore non-linearity at the cost of accuracy.
// TODO: visually test this option (especially in motion).
float w = d;
#else
#endif
return SAMPLE_TEXTURE3D_LOD(VBufferLighting, trilinearSampler, float3(uv, w), 0);
}

正在加载...
取消
保存