aboutsummaryrefslogtreecommitdiffstats
path: root/shaders/world.frag
diff options
context:
space:
mode:
Diffstat (limited to 'shaders/world.frag')
-rw-r--r--shaders/world.frag1
1 files changed, 0 insertions, 1 deletions
diff --git a/shaders/world.frag b/shaders/world.frag
index 617cbb1..87d86ca 100644
--- a/shaders/world.frag
+++ b/shaders/world.frag
@@ -26,7 +26,6 @@ void main()
if (dist < light[i].w) {
float attenuation = clamp(1.0f - dist*dist/(light[i].w*light[i].w), 0.0f, 1.0f);
attenuation *= attenuation;
-
shadeColor += (vec4(attenuation, attenuation, attenuation, 0.0f) * vec4(lightColor[i])) * lightImpact;
}
}