add("spot_direction", &Loader::spot_direction);
add("spot_exponent", &Loader::spot_exponent);
add("spot_cutoff", &Loader::spot_cutoff);
-
- // Deprecated
- add("diffuse", &Loader::color);
- add("specular");
}
void Light::Loader::attenuation(float c, float l, float q)