From 0b38e943e1cd2ccd752f35358affd3fec08e23ca Mon Sep 17 00:00:00 2001 From: drumsetmonkey Date: Wed, 15 Jun 2016 07:45:30 -0400 Subject: Better text boxes --- shaders/world.frag | 1 - 1 file changed, 1 deletion(-) (limited to 'shaders') 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; } } -- cgit v1.2.3