diff options
author | Clyne Sullivan <tullivan99@gmail.com> | 2016-06-15 07:49:35 -0400 |
---|---|---|
committer | Clyne Sullivan <tullivan99@gmail.com> | 2016-06-15 07:49:35 -0400 |
commit | 1b49be1c9c8e8887564dbb0aa69519bc538d81e7 (patch) | |
tree | 77555d2c82ccdc70f5b4c11f6aae38bab9e3d588 /shaders | |
parent | 8f385ec7ac5a78bc3bf70170f4ab39ebcac8e32a (diff) | |
parent | 0b38e943e1cd2ccd752f35358affd3fec08e23ca (diff) |
mergeeee
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; } } |