Simple Dynamic Shadow for TSStatic TGE 1.5.2 - TGEA 1.8.1
by Jean-louis Amadi · 10/26/2009 (10:19 am) · 29 comments
Full update & bug fix
Please download the zip file, do a backup, install&test this resource with a clean install of TGE 1.5.2 or TGEA 1.8.1
There is 2 directory by version, original & modified, used modified in order to install resource(copy/paste file on clean install or merge for sources which already modified)
Used original in order to restore to a clean install.
NOTE: Relighting is longer with this ressource but it work also be patient in this case, only the first relightning has this drawback.
www.mediafire.com/file/minzngnjrrz/TSStatic-cast%20shadow.zip
recompile et it's ok.
Add $pref::TStatic::renderReplicantShadow = "1" or "0"; in prefs.cs client side.
In editor you can notice the new fields for shadow with the TSStatic object, if change the sun parameters with shadowCanMove & shadowCanAnimate parameter activated you can see the shadow which change in realtime.

Please download the zip file, do a backup, install&test this resource with a clean install of TGE 1.5.2 or TGEA 1.8.1
There is 2 directory by version, original & modified, used modified in order to install resource(copy/paste file on clean install or merge for sources which already modified)
Used original in order to restore to a clean install.
NOTE: Relighting is longer with this ressource but it work also be patient in this case, only the first relightning has this drawback.
www.mediafire.com/file/minzngnjrrz/TSStatic-cast%20shadow.zip
recompile et it's ok.
Add $pref::TStatic::renderReplicantShadow = "1" or "0"; in prefs.cs client side.
In editor you can notice the new fields for shadow with the TSStatic object, if change the sun parameters with shadowCanMove & shadowCanAnimate parameter activated you can see the shadow which change in realtime.

About the author
www.gamealchemy.fr
#22
It would works.
11/03/2009 (6:48 pm)
Try increase shadowMaxVisibleDistance & shadowIntensity, check your $Pref parameters which concerned Shadow in pref.csIt would works.
#23
11/03/2009 (7:44 pm)
duh... sorry. works great now. thanks
#24
11/04/2009 (6:15 am)
@Jean: the updated link doesnt seem to work?
#25
Otherwise I can send it by mail.
11/04/2009 (6:54 am)
It's strange, I click on it and it works, maybe just that the popup blocker prevents the link to operate sometimes. Can you check this please.Otherwise I can send it by mail.
#26
11/06/2009 (9:43 pm)
Thanks for the resource Jean-louis. I have implemented polysoup in TGE and I'm wondering if this is why I'm not seeing any shadows? Would it be difficult to port for such?
#27
11/10/2009 (8:44 am)
If you have installed the resource and you do not see the shadow I think it's the tuning parameters that you need to review, the polysoup code impact on collisions not on casting shadows.
#28
11/15/2009 (3:10 pm)
Okay, maybe I've used the resource wrong. But I got the same options in TGEA 1_8_1 as show in the pictures. However, no matter how much I play with it it doesn't seem to do anything other then make odd glitched spots on the map around the objects. I didn't have any crashes, just could get it to do anything with shadows.
#29
"maybe just that the popup blocker prevents the link to operate sometimes"
I think that may have been the case it actually took me 3 times for the link to appear, anyways thanks for the resource!
01/24/2010 (6:46 pm)
@Jean:"maybe just that the popup blocker prevents the link to operate sometimes"
I think that may have been the case it actually took me 3 times for the link to appear, anyways thanks for the resource!

Torque Owner George Tagmire