Sfoglia il codice sorgente

remove unneeded function.

Ben Houston 10 anni fa
parent
commit
8610ef3221
1 ha cambiato i file con 0 aggiunte e 7 eliminazioni
  1. 0 7
      src/renderers/shaders/ShaderChunk/common.glsl

+ 0 - 7
src/renderers/shaders/ShaderChunk/common.glsl

@@ -21,13 +21,6 @@ struct ReflectedLight {
  	vec3 diffuse;
  	vec3 diffuse;
 };
 };
 
 
-void accumulateReflectedLight( inout ReflectedLight accumulator, const in ReflectedLight item ) {
-
-	accumulator.diffuse += item.diffuse;
-	accumulator.specular += item.specular;
-
-}
-
 struct GeometricContext {
 struct GeometricContext {
 	vec3 position;
 	vec3 position;
 	vec3 normal;
 	vec3 normal;

粤ICP备19079148号