Przeglądaj źródła

bsdfs.glsl: Alternative comment in G_GGX_Smith

Mugen87 8 lat temu
rodzic
commit
c62a611bc4
1 zmienionych plików z 1 dodań i 1 usunięć
  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
 // alpha is "roughness squared" in Disney’s reparameterization
 float G_GGX_Smith( const in float alpha, const in float dotNL, const in float dotNV ) {
 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 );
 	float a2 = pow2( alpha );