Game Development Community

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?

#1
12/02/2004 (7:56 am)
Take this into the SDK forums and people will be happy to help you. Being the person who wrote the original Stencil Shadows resource for TGE, I know that it will cast for any lights marked as stencilShadowCaster

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