浏览代码

bsdfs.glsl: Alternative comment in G_GGX_Smith

Mugen87 8 年之前
父节点
当前提交
c62a611bc4
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      src/renderers/shaders/ShaderChunk/bsdfs.glsl

+ 1 - 1
src/renderers/shaders/ShaderChunk/bsdfs.glsl

@@ -49,7 +49,7 @@ 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 = 4(n⋅l)(n⋅v) / G(l)⋅G(v)
+	// geometry term = G(l)⋅G(v)
 
 	float a2 = pow2( alpha );