Can the player cast shadows from scene lights?
by Jen Garcia · in Technical Issues · 12/02/2004 (7:44 am) · 1 replies
I've been playing around with some ideas on how I would want my game to look, and I noticed that the player will only cast the shadow from the sun object. Scene lights will only cause buildings to cast shadows and other objects are ignored or cast only the sun shadow.
I've looked at other resources such as 'Stencil Shadows' but, although the resulting shadows are very nice, they only come from light cast from the sun.
Is there any way to change this in TGE?
I've looked at other resources such as 'Stencil Shadows' but, although the resulting shadows are very nice, they only come from light cast from the sun.
Is there any way to change this in TGE?
About the author
Coder, artist, and gamer.
Torque Owner Brett Fattori
As for other lights, it wouldn't be too hard to make the default shadow casting work for all scene lights. You'd just need to cycle through all the lights that are close enough to cast shadows when generating the shadow.
- Brett