浏览代码

Add a TODO

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

1
Assets/ScriptableRenderLoop/ShaderLibrary/AreaLighting.hlsl


float irradiance = LineIrradiance(l1, l2, P0, T);
// Compute the width factor. We take the absolute value because the points may be swapped.
// TODO: consider using an inverse-transpose of 'invM' - potentially faster.
float width = abs(dot(B, normalize(cross(T, P1))));
// Guard against numerical precision issues.

正在加载...
取消
保存