WINTERMUTE: Enable lighting in 3d render mode
This commit is contained in:
parent
cc381158ef
commit
3346fc3595
1 changed files with 1 additions and 0 deletions
|
@ -341,6 +341,7 @@ bool BaseRenderOpenGL3D::setup3D(Camera3D* camera, bool force) {
|
|||
_state3D = true;
|
||||
|
||||
glEnable(GL_DEPTH_TEST);
|
||||
glEnable(GL_LIGHTING);
|
||||
glEnable(GL_BLEND);
|
||||
glAlphaFunc(GL_GEQUAL, 0x08);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue