diff options
author | Kester Maddock <Christopher.Maddock.1@uni.massey.ac.nz> | 2004-06-07 15:01:31 +0400 |
---|---|---|
committer | Kester Maddock <Christopher.Maddock.1@uni.massey.ac.nz> | 2004-06-07 15:01:31 +0400 |
commit | b468bf726c50d3126fac2664164e1be0d6e209c5 (patch) | |
tree | 777c7beb1094a652dd75548904abeb6f39073a00 /source/gameengine/GamePlayer/common/GPC_RenderTools.h | |
parent | 7d840a256e0094c159b2fc60bc3395b79f29e0cf (diff) |
Lighting updates:
Added specular after texture.
Added Light properties: Negative, No Diffuse, No Specular, Quad, Quad2
Diffstat (limited to 'source/gameengine/GamePlayer/common/GPC_RenderTools.h')
-rw-r--r-- | source/gameengine/GamePlayer/common/GPC_RenderTools.h | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/source/gameengine/GamePlayer/common/GPC_RenderTools.h b/source/gameengine/GamePlayer/common/GPC_RenderTools.h index 432bf393e3a..9c76ccd478d 100644 --- a/source/gameengine/GamePlayer/common/GPC_RenderTools.h +++ b/source/gameengine/GamePlayer/common/GPC_RenderTools.h @@ -67,13 +67,7 @@ public: glDisableClientState(GL_NORMAL_ARRAY); } - void EnableOpenGLLights() - { - glEnable(GL_LIGHTING); - glColorMaterial(GL_FRONT_AND_BACK,GL_DIFFUSE); - glEnable(GL_COLOR_MATERIAL); - glEnableClientState(GL_NORMAL_ARRAY); - } + void EnableOpenGLLights(); int ProcessLighting(int layer); |