浏览代码

Add cast to half

/LW-DistortionPass
Matt Dean 7 年前
当前提交
cc5f9bc7
共有 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 * 0.25;
return s * 0.25h;
}
ENDHLSL

正在加载...
取消
保存