浏览代码

Remove unnecessary multiplication

/LW-DistortionPass
Matt Dean 7 年前
当前提交
5ccf2696
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 2
      ScriptableRenderPipeline/LightweightPipeline/LWRP/Shaders/LightweightSampling.shader

2
ScriptableRenderPipeline/LightweightPipeline/LWRP/Shaders/LightweightSampling.shader


s += (SAMPLE_TEXTURE2D(tex, samplerTex, uv + d.xw));
s += (SAMPLE_TEXTURE2D(tex, samplerTex, uv + d.zw));
return s * (1.0 * 0.25);
return s * 0.25;
}
ENDHLSL

正在加载...
取消
保存