From: Mikko Rasa Date: Sun, 5 Dec 2021 08:53:38 +0000 (+0200) Subject: Use an RGBA environment map in desertpillars X-Git-Url: http://git.tdb.fi/?a=commitdiff_plain;h=cf8a11627e9bba5631b16fc32e2fee5546ea9c3c;p=libs%2Fgl.git Use an RGBA environment map in desertpillars --- diff --git a/demos/desertpillars/source/desertpillars.cpp b/demos/desertpillars/source/desertpillars.cpp index 1afd57b8..bfb25f30 100644 --- a/demos/desertpillars/source/desertpillars.cpp +++ b/demos/desertpillars/source/desertpillars.cpp @@ -49,7 +49,7 @@ DesertPillars::DesertPillars(int, char **): env_bld.set_debug_name("Environment sequence"); env_seq.reset(env_bld.build()); - env_map = make_unique(256, GL::RGB16F, 7, sphere, *env_seq); + env_map = make_unique(256, GL::RGBA16F, 7, sphere, *env_seq); env_map->set_debug_name("Environment map"); sphere.set_matrix(GL::Matrix::translation(GL::Vector3(0.0f, 0.0f, 3.3f)));