forked from Kolyah35/minecraft-pe-0.6.1
another attempt... i hate gles...
This commit is contained in:
@@ -19,7 +19,7 @@ void Lighting::turnOn(Minecraft* minecraft) {
|
|||||||
glEnable(GL_LIGHT0);
|
glEnable(GL_LIGHT0);
|
||||||
glEnable(GL_LIGHT1);
|
glEnable(GL_LIGHT1);
|
||||||
glEnable(GL_COLOR_MATERIAL);
|
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 a = 0.4f;
|
||||||
constexpr float d = 0.6f;
|
constexpr float d = 0.6f;
|
||||||
|
|||||||
Reference in New Issue
Block a user