X-Git-Url: http://git.tdb.fi/?p=libs%2Fgl.git;a=blobdiff_plain;f=source%2Fmaterials%2Frenderpass.h;h=de04461af05f3510f96630c23968773ab9ef19bb;hp=91ff1b6c77f0e54590e4802981f80b16b7400e6a;hb=6b9338845dfee441cd18ad6c633e4feef8ad14e1;hpb=87b74b1263710b0acb9e0b72283e972fd54ee91b diff --git a/source/materials/renderpass.h b/source/materials/renderpass.h index 91ff1b6c..de04461a 100644 --- a/source/materials/renderpass.h +++ b/source/materials/renderpass.h @@ -80,6 +80,7 @@ private: std::vector 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;