Pulse light
by Howard Dortch · in Torque Game Engine · 06/08/2005 (10:21 am) · 1 replies
I have a landing pad for a craft and wanted a red pulsing light. I tried to use the brightness anim and the rotation anim settings to no avail. The light seems to be burned on the textures near by (static light I assume) has anyone made a pulsing light and would they share the settings with me?
Torque Owner John Kabus (BobTheCBuilder)
For full animation on all object types (such as interiors and the terrain) the light needs to be dynamic, otherwise only dts objects show the animation.
If the light you're creating doesn't shutoff completely and you want some level of shadow casting, you can place a dynamic and a static light in the same place, setting the static light at the lowest lighting level (this provides shadow casting) and set up the dynamic light to animate the intensity. This will take a little tweaking, but should produce decent results.
I used this setup in the first release of the Lighting Pack demo, it gave the dynamic firelight partial interior shadows and provided a radiosity like effect where the dynamic light bled onto the static shadows:
Let me know if this helps!
-John