Browse Source

Merge pull request #17208 from sunag/dev-fix-furnance

Fix non-ENERGY_PRESERVATION merge conflict
Mr.doob 6 years ago
parent
commit
7f4905b6a3

+ 0 - 6
src/renderers/shaders/ShaderChunk/lights_physical_pars_fragment.glsl.js

@@ -143,12 +143,6 @@ void RE_IndirectSpecular_Physical( const in vec3 radiance, const in vec3 irradia
 	reflectedLight.indirectDiffuse += multiScattering * cosineWeightedIrradiance;
 	reflectedLight.indirectDiffuse += diffuse * cosineWeightedIrradiance;
 
-	#ifndef STANDARD
-
-		reflectedLight.indirectSpecular += clearCoatInv * radiance * BRDF_Specular_GGX_Environment( geometry.viewDir, geometry.normal, material.specularColor, material.specularRoughness );
-
-	#endif
-
 }
 
 #define RE_Direct				RE_Direct_Physical