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-01-05 21:11:37 +0000
committerEvan Goers <mega@osirion.org>2012-01-05 21:11:37 +0000
commit45382662a6835e6d4d6000544cc32119394f49a2 (patch)
treeb242ff26029e2a7b4faf6f7933171562cc3b2daa /src/render/state.cc
parentbf06094626def76b29b6febed482b5315b28d1bf (diff)
Removed camera light.
Tweaked lighting more.
Diffstat (limited to 'src/render/state.cc')
-rw-r--r--src/render/state.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/render/state.cc b/src/render/state.cc
index 538d784..ab5eec4 100644
--- a/src/render/state.cc
+++ b/src/render/state.cc
@@ -137,7 +137,7 @@ void State::clear()
//gl::shademodel(GL_FLAT);
// lighting model
- GLfloat global_ambient[] = { 0.0f, 0.0f, 0.0f, 1.0f };
+ GLfloat global_ambient[] = { 0.1f, 0.1f, 0.1f, 1.0f };
glLightModelfv(GL_LIGHT_MODEL_AMBIENT, global_ambient);
glLightModeli(GL_LIGHT_MODEL_LOCAL_VIEWER, GL_TRUE);