浏览代码

Add a comment

/feature-ReflectionProbeFit
Evgenii Golubev 7 年前
当前提交
5ab1ca0f
共有 1 个文件被更改,包括 2 次插入0 次删除
  1. 2
      ScriptableRenderPipeline/Core/CoreRP/ShaderLibrary/CommonLighting.hlsl

2
ScriptableRenderPipeline/Core/CoreRP/ShaderLibrary/CommonLighting.hlsl


real3 localX = real3(c * x * a - 1, sz * b, c);
real3 localY = real3(b, y * ya - sz, y);
// Note: due to the quaternion formulation, the generated frame is rotated by 180 degrees,
// s.t. if localZ = {0, 0, 1}, then localX = {-1, 0, 0} and localY = {0, -1, 0}.
return real3x3(localX, localY, localZ);
}

正在加载...
取消
保存