浏览代码

Remove the arbitrary 'maxDisplacement' scale

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

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


#endif
#endif
// TODO: explain this 0.5 factor. It is likely related to the fact that
// setting the amplitude to 2 in the UI only results in the max. displacement of 1.
return 0.5 * maxDisplacement;
return maxDisplacement;
}
// Return the minimun uv size for all layers including triplanar

正在加载...
取消
保存