added function that procedurally generates heightfield
[demo] / src / main.cc
index 7061bb6..166b467 100644 (file)
@@ -138,7 +138,7 @@ static bool init(Gfx_API api)
        }
 
        gskybox = gfx_create_texture();
-       gskybox->load("data/cubemap/cubemap.jpg");
+       gskybox->load("data/cubemap/cubemap.hdr");
        rground->set_sky_tex(gskybox);
 
        rcow = new Renderer;