- ShadowMap(unsigned, Renderable &, const Light &, Renderable &);
- DEPRECATED ShadowMap(unsigned, Renderable &, const Light &);
-private:
- void init(unsigned);
+ ShadowMap(unsigned, Renderable &, const DirectionalLight &, Renderable &);
+ ShadowMap(unsigned, unsigned, Renderable &, const Lighting &, Renderable &);
+
+ void add_light(const DirectionalLight &, unsigned);