]> git.tdb.fi Git - libs/gl.git/blobdiff - source/materials/renderpass.h
Implement image-based lighting in PbrMaterial
[libs/gl.git] / source / materials / renderpass.h
index 91ff1b6c77f0e54590e4802981f80b16b7400e6a..de04461af05f3510f96630c23968773ab9ef19bb 100644 (file)
@@ -80,6 +80,7 @@ private:
        std::vector<TextureSlot> textures;
        bool back_faces;
        bool receive_shadows;
+       bool image_based_lighting;
 
 public:
        RenderPass();
@@ -105,6 +106,8 @@ public:
        bool get_back_faces() const { return back_faces; }
        void set_receive_shadows(bool);
        bool get_receive_shadows() const { return receive_shadows; }
+       void set_image_based_lighting(bool);
+       bool get_image_based_lighting() const { return image_based_lighting; }
 
        void apply(Renderer &) const;