Fixed color issues

This commit is contained in:
2016-06-09 13:01:03 +02:00
parent a4373adc25
commit af681b0223
2 changed files with 3 additions and 1 deletions
+2
View File
@@ -186,6 +186,8 @@ void World::draw()
float lightAmbient[4] = { 0.2, 0.2, 0.2, 1 };
glLightfv(GL_LIGHT0, GL_AMBIENT, lightAmbient);
glColor4f(1, 1, 1, 1);
skybox->draw();
heightmap->Draw();
+1 -1
View File
@@ -1,7 +1,7 @@
{
"world": {
"heightmap": "worlds/small.png",
"skybox": "skyboxes/peaceful/",
"skybox": "skyboxes/water/",
"object-templates": [
{
"color": 100,