浏览代码

Remove the case which acos() does not support

/Branch_Batching2
Evgenii Golubev 7 年前
当前提交
7d130a77
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 2
      Assets/ScriptableRenderPipeline/ShaderLibrary/AreaLighting.hlsl

2
Assets/ScriptableRenderPipeline/ShaderLibrary/AreaLighting.hlsl


float omega = acos(cosOmega);
float gamma = asin(sinGamma);
if (omega < 0 || omega >= HALF_PI + sigma)
if (omega >= HALF_PI + sigma)
{
// Full horizon occlusion (case #4).
return 0;

正在加载...
取消
保存