浏览代码

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