Project Rembrandt: Difference between revisions

m (→‎Point lights: syntax highlighting)
Line 194: Line 194:
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.
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.
All available animations are possible on the light volume, except '''material''' and '''texture'''. It is not possible to change color of lights for the moment, except switching to another animation. Axis and position are in object space and are transformed by the subsequent animations.


==== Spotlights ====
==== Spotlights ====
269

edits