add("light", &Loader::light);
add("sky_color", &Loader::sky_color);
add("zenith_direction", &Loader::zenith_direction);
add("light", &Loader::light);
add("sky_color", &Loader::sky_color);
add("zenith_direction", &Loader::zenith_direction);
void Lighting::Loader::sky_color(float r, float g, float b)
{
obj.set_sky_color(Color(r, g, b));
void Lighting::Loader::sky_color(float r, float g, float b)
{
obj.set_sky_color(Color(r, g, b));