Explorar el Código

remove unneeded function.

Ben Houston hace 10 años
padre
commit
8610ef3221
Se han modificado 1 ficheros con 0 adiciones y 7 borrados
  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号