From 359f98adee3e0308dcd92dc59b68f699527d1acb Mon Sep 17 00:00:00 2001 From: Stijn Buys Date: Tue, 12 Nov 2013 22:04:53 +0000 Subject: Restored mega's light attenuation values. --- src/render/draw.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') diff --git a/src/render/draw.cc b/src/render/draw.cc index da0a063..b956c18 100644 --- a/src/render/draw.cc +++ b/src/render/draw.cc @@ -115,7 +115,7 @@ void pass_prepare(float seconds) if (globe->has_flag(core::Entity::Bright)) { float zone_light_brightness = math::max(globe->color().r, math::max(globe->color().g, globe->color().b)); Light *zone_light = new Light(globe->location(), globe->color()); - zone_light->set_attenuation(zone_light_brightness * 2.0f, 0.0f, 0.0f); + zone_light->set_attenuation(zone_light_brightness * 1.5f, zone_light_brightness * 0.00001f, zone_light_brightness * 0.000000001f); lightenv_zone.add(zone_light); } -- cgit v1.2.3