소스 검색

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 );