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:
@@ -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);
|
||||
|
||||
|
Reference in New Issue
Block a user