浏览代码

Clarify the comment

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

2
Assets/ScriptableRenderLoop/ShaderLibrary/ImageBasedLighting.hlsl


return perceptualRoughness * UNITY_SPECCUBE_LOD_STEPS;
}
// The inverse of perceptualRoughnessToMipmapLevel().
// The inverse of the *approximated* version of perceptualRoughnessToMipmapLevel().
float mipmapLevelToPerceptualRoughness(float mipmapLevel)
{
float perceptualRoughness = saturate(mipmapLevel / UNITY_SPECCUBE_LOD_STEPS);

正在加载...
取消
保存