diff options
author | Stijn Buys <ingar@osirion.org> | 2008-07-29 12:09:18 +0000 |
---|---|---|
committer | Stijn Buys <ingar@osirion.org> | 2008-07-29 12:09:18 +0000 |
commit | 7135476fc282ad62373347af2118fbe421415966 (patch) | |
tree | deaf1d4ab342af8a630bb33030973e378f8302c8 /src/render | |
parent | f4398aa4664170b4da0b0224bdc27108eeca83f3 (diff) |
replace GL_RESCALE_NORMAL with GL_NORMALIZE
Diffstat (limited to 'src/render')
-rw-r--r-- | src/render/draw.cc | 6 |
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); |