Merge branch 'developer' into FireWorld

# Conflicts:
#	worlds/worlds.json
This commit is contained in:
Dofensmirtsz
2016-06-22 02:57:01 +02:00
24 changed files with 7451 additions and 15 deletions
+5 -1
View File
@@ -278,9 +278,13 @@ void World::draw()
glLightfv(GL_LIGHT0, GL_DIFFUSE, light_diffuse);
glLightfv(GL_LIGHT0, GL_AMBIENT, lightAmbient);
skybox->draw();
GLfloat mat_specular[] = { 0.15, 0.15, 0.15, 0 };
glMaterialfv(GL_FRONT, GL_SPECULAR, mat_specular);
player->setCamera();
skybox->draw();
player->draw();
heightmap->Draw();