another attempt... i hate gles...

This commit is contained in:
Shredder
2026-04-11 15:21:21 +05:00
parent baeefae94d
commit e1b81a7cc3

View File

@@ -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;