Project::OSiRiON - Git repositories
Project::OSiRiON
News . About . Screenshots . Downloads . Forum . Wiki . Tracker . Git
summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorStijn Buys <ingar@osirion.org>2013-11-12 22:04:53 +0000
committerStijn Buys <ingar@osirion.org>2013-11-12 22:04:53 +0000
commit359f98adee3e0308dcd92dc59b68f699527d1acb (patch)
treee8763f2fff94d1614657940e885cf2732d7eec5b /src
parent02425ffa77e95f580ec2013ae7eab273b4fc9fe0 (diff)
Restored mega's light attenuation values.
Diffstat (limited to 'src')
-rw-r--r--src/render/draw.cc2
1 files changed, 1 insertions, 1 deletions
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);
}