summaryrefslogtreecommitdiff
path: root/video.cpp
diff options
context:
space:
mode:
authorJon Bergli Heier <snakebite@jvnv.net>2011-04-03 15:09:13 +0200
committerJon Bergli Heier <snakebite@jvnv.net>2011-04-03 15:09:13 +0200
commit61fe986e9ad6d1f26275e2ffd72cae0c2542256c (patch)
tree857429da1978c1932387831214bab82cf6847bf9 /video.cpp
parent156683c7cbcd697f09f5101fd14c01051928edb8 (diff)
Implemented very ineffective dynamic terrain LOD.
Diffstat (limited to 'video.cpp')
-rw-r--r--video.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/video.cpp b/video.cpp
index 6ebe170..565a930 100644
--- a/video.cpp
+++ b/video.cpp
@@ -20,8 +20,8 @@ void video::init() {
glShadeModel(GL_SMOOTH);
glEnable(GL_POINT_SMOOTH);
- glEnable(GL_LIGHTING);
- glEnable(GL_LIGHT0);
+ //glEnable(GL_LIGHTING);
+ //glEnable(GL_LIGHT0);
//glEnable(GL_COLOR_MATERIAL);
const float light_ambient[4] = {.2, .2, .2, 1};