From cf8a11627e9bba5631b16fc32e2fee5546ea9c3c Mon Sep 17 00:00:00 2001 From: Mikko Rasa Date: Sun, 5 Dec 2021 10:53:38 +0200 Subject: [PATCH] Use an RGBA environment map in desertpillars --- demos/desertpillars/source/desertpillars.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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))); -- 2.45.2