diff options
author | drumsetmonkey <abelleisle@roadrunner.com> | 2016-06-15 07:45:30 -0400 |
---|---|---|
committer | drumsetmonkey <abelleisle@roadrunner.com> | 2016-06-15 07:45:30 -0400 |
commit | 0b38e943e1cd2ccd752f35358affd3fec08e23ca (patch) | |
tree | 6d9cfd7081ecace73ad1b777247a8153284e654f /shaders | |
parent | b9f727e8f21560e0c9726e4b4782dfbd28aee746 (diff) |
Better text boxes
Diffstat (limited to 'shaders')
-rw-r--r-- | shaders/world.frag | 1 |
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; } } |