Fix for reflection mapping unlit faces: normals were not being sent, hence reflection maps weren't being rendered properly (bf-bug #1385)

Set the diffuse material colour - lighting brightness should match blender better. (bf-bug #1385)
This commit is contained in:
Kester Maddock
2004-06-23 01:12:11 +00:00
parent b506d93f0e
commit 38de9559bc
6 changed files with 18 additions and 51 deletions

View File

@@ -143,9 +143,6 @@ bool RAS_OpenGLRasterizer::Init()
m_blueback = 0.4375;
m_alphaback = 0.0;
// enable both vertexcolor AND lighting color
glEnable(GL_COLOR_MATERIAL);
glClearColor(m_redback,m_greenback,m_blueback,m_alphaback);
glClear(GL_COLOR_BUFFER_BIT | GL_DEPTH_BUFFER_BIT);