]> git.tdb.fi Git - libs/gl.git/blobdiff - source/materials/lighting.h
Refactor ShadowMap to support multiple lights
[libs/gl.git] / source / materials / lighting.h
index d4e6b5942cc09d660857d661b2b8bb700e4d71e4..9dc93b240c7f0042349a0d0732c6a51251b3a92b 100644 (file)
@@ -78,6 +78,8 @@ public:
        /** Detaches a light source.  If the light was not attached, does nothing. */
        void detach(const Light &);
 
+       int find_light_index(const Light &) const;
+
        const ProgramData &get_shader_data() const;
 
        void set_debug_name(const std::string &);