→Adding lights to a model
Only spotlights are implemented for the moment. The light volume must be part of the geometry of the model and be referenced in the animation file. No need to add a color or an effect to this volume. Light calculation is only done on the fragments covered by the light volume, but has no influence on the color or the attenuation of the light.
All available animations are possible on the light volume. Axis and position are in object space and are transformed by the subsequent animations.
==== Spotlights ====