浏览代码

Correct a factual mistake in the comment

/main
Evgenii Golubev 8 年前
当前提交
ee804935
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 2
      Assets/ScriptableRenderLoop/ShaderLibrary/AreaLighting.hlsl

2
Assets/ScriptableRenderLoop/ShaderLibrary/AreaLighting.hlsl


if (n == 5)
sum += IntegrateEdge(L4, L[0]);
sum *= INV_TWO_PI; // Normalization of the Lambertian integral over the sphere
sum *= INV_TWO_PI; // Normalization of the integral of cosine over the sphere
return twoSided ? abs(sum) : max(sum, 0.0);
}

正在加载...
取消
保存