Shadow generation
by Riccardo Berta · in Torque Game Engine · 06/23/2006 (1:11 am) · 2 replies
I need to know how Torque can cast shadows for DTS objects.
How is collision box used?
Thanks
How is collision box used?
Thanks
About the author
#2
How is the collision box used from the engine?
06/26/2006 (12:32 am)
Thank you Aaron, but I would know why without collision box shadows are not shown and with collision box otherwise yes. How is the collision box used from the engine?
Torque Owner Aaron E
Default Studio Name
If you integrate the TLK code into your TGE app, then you should get DTS shadows. If you want to get it working on your own, it will take a bit of coding. Your best bet in this case might be to look for threads by Melv May regarding shadows. I don't have the links handy right now, but hopefully that will get you started.
Also, when a shadow is cast onto a DTS shape, it is really cast onto that shape's collision box.
I hope that helps,
Aaron E.