浏览代码

Fix a typo

/stochastic_alpha_test
Evgenii Golubev 7 年前
当前提交
2010bbe1
共有 1 个文件被更改,包括 2 次插入2 次删除
  1. 4
      ScriptableRenderPipeline/Core/ShaderLibrary/BSDF.hlsl

4
ScriptableRenderPipeline/Core/ShaderLibrary/BSDF.hlsl


float2 G = float2(1, lambdaV + lambdaL); // Fraction without the constant (0.5)
return (INV_PI * 0.5) * (D.x * G.y) / (D.y * G.y);
return (INV_PI * 0.5) * (D.x * G.x) / (D.y * G.y);
}
float DV_SmithJointGGX(float NdotH, float NdotL, float NdotV, float roughness)

float2 G = float2(1, lambdaV + lambdaL); // Fraction without the constant (0.5)
return (INV_PI * 0.5) * (D.x * G.y) / (D.y * G.y);
return (INV_PI * 0.5) * (D.x * G.x) / (D.y * G.y);
}
float DV_SmithJointGGXAniso(float TdotH, float BdotH, float NdotH,

正在加载...
取消
保存