Project::OSiRiON - Git repositories
Project::OSiRiON
News . About . Screenshots . Downloads . Forum . Wiki . Tracker . Git
summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/render/draw.cc6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/render/draw.cc b/src/render/draw.cc
index b26b8ce..b552361 100644
--- a/src/render/draw.cc
+++ b/src/render/draw.cc
@@ -956,11 +956,13 @@ void draw(float seconds)
gl::enable(GL_CULL_FACE); // enable culling
gl::enable(GL_COLOR_MATERIAL); // enable color tracking
gl::enable(GL_LIGHTING);
- gl::enable(GL_RESCALE_NORMAL); // rescale normals by the transformation matrix scale factor
+ //gl::enable(GL_RESCALE_NORMAL); // rescale normals by the transformation matrix scale factor
+ gl::enable(GL_NORMALIZE);
draw_pass_default(); // draw entities without model
- gl::disable(GL_RESCALE_NORMAL);
+ gl::disable(GL_NORMALIZE);
+ //gl::disable(GL_RESCALE_NORMAL);
glEnableClientState(GL_COLOR_ARRAY);