Browse Source

fix merger conflict https://github.com/mrdoob/three.js/pull/17176

sunag 6 years ago
parent
commit
6af67e24b9

+ 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