]> git.tdb.fi Git - libs/gl.git/blobdiff - demos/desertpillars/source/desertpillars.h
Use image-based lighting in the entire desert pillars scene
[libs/gl.git] / demos / desertpillars / source / desertpillars.h
index aac5862e166607633a6a2b434d5e6bb316874490..c6242ad313d9eac4b257b1ec1d7fd37e9e4ed420 100644 (file)
@@ -5,9 +5,9 @@
 #include <msp/core/application.h>
 #include <msp/datafile/directorysource.h>
 #include <msp/gl/camera.h>
+#include <msp/gl/environmentmap.h>
 #include <msp/gl/objectinstance.h>
 #include <msp/gl/orderedscene.h>
-#include <msp/gl/pbrenvironmentmap.h>
 #include <msp/gl/resourcemanager.h>
 #include <msp/gl/resources.h>
 #include <msp/gl/sequence.h>
@@ -70,6 +70,7 @@ private:
        std::unique_ptr<Msp::GL::ShadowMap> shadow_map;
        std::unique_ptr<Msp::GL::Sequence> env_seq;
        std::unique_ptr<Msp::GL::EnvironmentMap> env_map;
+       std::unique_ptr<Msp::GL::EnvironmentMap> global_env;
        Msp::GL::OrderedScene content;
 
        MorphSphere sphere;