forked from mirrors/kolyah35-minecraft-pe-0.6.1
another attempt... i hate gles...
This commit is contained in:
parent
baeefae94d
commit
e1b81a7cc3
1 changed files with 1 additions and 1 deletions
|
|
@ -19,7 +19,7 @@ void Lighting::turnOn(Minecraft* minecraft) {
|
|||
glEnable(GL_LIGHT0);
|
||||
glEnable(GL_LIGHT1);
|
||||
glEnable(GL_COLOR_MATERIAL);
|
||||
glColorMaterial(GL_FRONT_AND_BACK, GL_AMBIENT_AND_DIFFUSE);
|
||||
// glColorMaterial(GL_FRONT_AND_BACK, GL_AMBIENT_AND_DIFFUSE);
|
||||
|
||||
constexpr float a = 0.4f;
|
||||
constexpr float d = 0.6f;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue