提交 af245a37 编写于 作者: M Mugen87

bsdfs.glsl: Added link to PR

上级 c62a611b
......@@ -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)
// 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.
先完成此消息的编辑!
想要评论请 注册