浏览代码

Reduce the scale and add a comment

/Branch_Batching2
Evgenii Golubev 7 年前
当前提交
b7cf77a8
共有 1 个文件被更改,包括 2 次插入2 次删除
  1. 4
      Assets/ScriptableRenderPipeline/HDRenderPipeline/Material/Lit/LitData.hlsl

4
Assets/ScriptableRenderPipeline/HDRenderPipeline/Material/Lit/LitData.hlsl


float depthOffset = ApplyPerPixelDisplacement(input, V, layerTexCoord);
// TEMP
depthOffset = -depthOffset * 20.0;
// TODO: remove the scale once the bug is fixed.
depthOffset = depthOffset * 6.0;
#ifdef _DEPTHOFFSET_ON
ApplyDepthOffsetPositionInput(V, depthOffset, _ViewProjMatrix, posInput);

正在加载...
取消
保存