提交 c583683a 编写于 作者: M Mr.doob 提交者: GitHub

Merge pull request #12151 from Mugen87/dev3

bsdfs.glsl: Correct comment in G_GGX_Smith
......@@ -49,7 +49,8 @@ vec3 F_Schlick( const in vec3 specularColor, const in float dotLH ) {
// alpha is "roughness squared" in Disney’s reparameterization
float G_GGX_Smith( const in float alpha, const in float dotNL, const in float dotNV ) {
// geometry term = G(l)⋅G(v) / 4(n⋅l)(n⋅v)
// geometry term (normalized) = G(l)⋅G(v) / 4(n⋅l)(n⋅v)
// also see #12151
float a2 = pow2( alpha );
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册