Browse Source

remove unneeded function.

Ben Houston 9 years ago
parent
commit
8610ef3221
1 changed files with 0 additions and 7 deletions
  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;
 };
 
-void accumulateReflectedLight( inout ReflectedLight accumulator, const in ReflectedLight item ) {
-
-	accumulator.diffuse += item.diffuse;
-	accumulator.specular += item.specular;
-
-}
-
 struct GeometricContext {
 	vec3 position;
 	vec3 normal;