3 This file is part of libmspgl
4 Copyright © 2008 Mikko Rasa, Mikkosoft Productions
5 Distributed under the LGPL
8 #ifndef MSP_GL_LIGHTING_H_
9 #define MSP_GL_LIGHTING_H_
23 LIGHTING = GL_LIGHTING
27 Encapsulates global lighting parameters and a number of individual lights.
29 class Lighting: public Bindable<Lighting>
33 std::vector<const Light *> lights;
38 void set_ambient(const Color &);
39 const Color &get_ambient() const { return ambient; }
41 void attach(unsigned, const Light &);
42 void detach(unsigned);