Vehicle shadow with TLK
by Martin Andersson · in Torque Game Engine · 04/10/2006 (2:16 am) · 2 replies
How do I set the intensity (or darkness) of the vehicle/player shadow with TLK?
I changed it for the standard Torque code, but this part of the code has changed with TLK.
Can't find that thread now...
Or is there a script to change it? (Checked, but couldn't find)
BTW: the shadow with TLK looks *MUCH* better compared to the standard shadow that comes with Torque.
And the vehicle wheels have shadows too!
Nice!
I changed it for the standard Torque code, but this part of the code has changed with TLK.
Can't find that thread now...
Or is there a script to change it? (Checked, but couldn't find)
BTW: the shadow with TLK looks *MUCH* better compared to the standard shadow that comes with Torque.
And the vehicle wheels have shadows too!
Nice!
#2
I also found the parameter to get a longer shadow fadeout.
It looked a bit wierd when in the air with the vehicle, the shadow faded out totally.
Thanks!
04/10/2006 (7:34 am)
Yes, I found it while digging around :)I also found the parameter to get a longer shadow fadeout.
It looked a bit wierd when in the air with the vehicle, the shadow faded out totally.
Thanks!
Torque 3D Owner iHugMedia
#define SG_PARTICLESYSTEMLIGHT_FIXED_INTENSITY 0.5f
#define SG_DYNAMIC_SHADOW_INTENSITY 0.5
#define SG_DYNAMIC_SHADOW_STEPS 5.0f
#define SG_DYNAMIC_SHADOW_TIME 20