Project::OSiRiON - Git repositories
Project::OSiRiON
News . About . Screenshots . Downloads . Forum . Wiki . Tracker . Git
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEvan Goers <mega@osirion.org>2012-05-03 01:15:11 +0000
committerEvan Goers <mega@osirion.org>2012-05-03 01:15:11 +0000
commit1e39d6128a1ec15a1d34b3831391348902ce2be4 (patch)
tree8bf8ea3b80fed20d8d56dc639cf3deff52a28f55 /src/render
parent944b1170e4c03e394033a9b91b40c111a1107a0c (diff)
Tweaked light attenuation.
Diffstat (limited to 'src/render')
-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 b0d234f..fbc499f 100644
--- a/src/render/draw.cc
+++ b/src/render/draw.cc
@@ -112,7 +112,7 @@ void pass_prepare(float seconds)
// add zone lights
if (globe->flag_is_set(core::Entity::Bright)) {
Light *zone_light = new Light(globe->location(), globe->color());
- zone_light->set_attenuation(2.0f, 0.0f, 0.0f);
+ zone_light->set_attenuation(0.0005f, 0.0005f, 0.0f);
lightenv_zone.add(zone_light);
}