mirror of
https://gitea.sffempire.ru/Kolyah35/minecraft-pe-0.6.1.git
synced 2026-04-30 17:43:30 +00:00
another attempt... i hate gles...
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user