소스 검색

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

Fix non-ENERGY_PRESERVATION merge conflict
Mr.doob 6 년 전
부모
커밋
7f4905b6a3
1개의 변경된 파일0개의 추가작업 그리고 6개의 파일을 삭제
  1. 0 6
      src/renderers/shaders/ShaderChunk/lights_physical_pars_fragment.glsl.js

+ 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