X-Git-Url: http://git.tdb.fi/?p=libs%2Fgl.git;a=blobdiff_plain;f=demos%2Fdesertpillars%2Fsource%2Fdesertpillars.cpp;fp=demos%2Fdesertpillars%2Fsource%2Fdesertpillars.cpp;h=41d150b0a8e6c7bffd0b8fb62722ec0df653e9d3;hp=c138d65a6cdb428718212ebb6e2d112ebc04afea;hb=54d0db2e998cd07a72acc883f9d8735bd97563a2;hpb=fea00edfb3b4274cb87e131743415e1fd22d0c1a diff --git a/demos/desertpillars/source/desertpillars.cpp b/demos/desertpillars/source/desertpillars.cpp index c138d65a..41d150b0 100644 --- a/demos/desertpillars/source/desertpillars.cpp +++ b/demos/desertpillars/source/desertpillars.cpp @@ -56,7 +56,7 @@ DesertPillars::DesertPillars(int, char **): step->set_lighting(&resources.get("Desert.lightn")); step->set_depth_test(&GL::DepthTest::lequal()); - env_map = make_unique(resources, 256, sphere, *env_seq); + env_map = make_unique(resources, 256, GL::RGB16F, sphere, *env_seq); sphere.set_matrix(GL::Matrix::translation(GL::Vector3(0.0f, 0.0f, 3.3f))); content.add(resources.get("Background.scene"));