浏览代码

Increase the SSS disable threshold

/RenderPassXR_Sandbox
Evgenii Golubev 7 年前
当前提交
1a5832f4
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 2
      Assets/ScriptableRenderPipeline/HDRenderPipeline/Material/Lit/Resources/CombineSubsurfaceScattering.shader

2
Assets/ScriptableRenderPipeline/HDRenderPipeline/Material/Lit/Resources/CombineSubsurfaceScattering.shader


// We perform point sampling. Therefore, we can avoid the cost
// of filtering if we stay within the bounds of the current pixel.
[branch]
if (maxDistancePixels < 0.5)
if (maxDistancePixels < 1)
{
#if SSS_DEBUG
return float4(0, 0, 1, 1);

正在加载...
取消
保存