Browse Source

ShaderChunk: Reverts the reference citation for V_GGX_SmithCorrelated to the Frostbite paper.

Mr.doob 4 months ago
parent
commit
53e74515e3

+ 2 - 1
src/renderers/shaders/ShaderChunk/lights_physical_pars_fragment.glsl.js

@@ -71,7 +71,8 @@ vec3 Schlick_to_F0( const in vec3 f, const in float f90, const in float dotVH )
     return ( f - vec3( f90 ) * x5 ) / ( 1.0 - x5 );
 }
 
-// Heitz 2014, "Understanding the Masking-Shadowing Function in Microfacet-Based BRDFs"
+// Moving Frostbite to Physically Based Rendering 3.0 - page 12, listing 2
+// https://seblagarde.files.wordpress.com/2015/07/course_notes_moving_frostbite_to_pbr_v32.pdf
 float V_GGX_SmithCorrelated( const in float alpha, const in float dotNL, const in float dotNV ) {
 
 	float a2 = pow2( alpha );

粤ICP备19079148号