Shadows on atlas and general questions about shadows.
by Kyrah Abattoir · in Torque Game Engine Advanced · 05/03/2007 (1:39 am) · 7 replies
It seems that in the terrain_water_demo the static shadows are not getting baked on the atlas terrains, is that a normal/expected behavior?
Is there any easy way to solve it? (i have to say i am not much of an expert of tgea/tse)
Also i was wondering if it is possible to get dynamic shadows (even a crude type) of dif interiors projected on atlas, as i would like to make some sort of day/night cycle, and , of course the static shadows might not be useful.
thanks in advance!
Is there any easy way to solve it? (i have to say i am not much of an expert of tgea/tse)
Also i was wondering if it is possible to get dynamic shadows (even a crude type) of dif interiors projected on atlas, as i would like to make some sort of day/night cycle, and , of course the static shadows might not be useful.
thanks in advance!
About the author
3D artist, programmer, game designer, jack of all trades, master of none.
#2
05/03/2007 (2:21 am)
No way to have the dynamic shadows on all the difs ?
#3
05/03/2007 (11:00 am)
Not as the engine sits right now. However it will be a change that our project, at least, will look into at some point. Absolutely no timeframe on that, though.
#4
05/15/2007 (12:08 pm)
I'm using legacy terrain and I have not shadows on anything. my TSStatics have not shadows and myStatic Shapes have no shadows either. This is so frustrating I could scream. But, that would likley get me fired so I wont.
#5
05/15/2007 (1:40 pm)
Shadowing is enabled object by object on the datablocks. But your TSStatics should have shadows...
#6
ok so then my problem is 2 fold.
1 . I need to know the sytax and ehere in my StaticShape scipt that the shadow code goes.
2 . I need to know what would cause my TSStatics not to cst shadows.
I have collision meshes on them and everything. If needed I can zip the files and post them if someone would be willing to take a look.
I would really appreciate it
Thanks,
James Brad Barnette
05/15/2007 (4:26 pm)
See that is what I thought.ok so then my problem is 2 fold.
1 . I need to know the sytax and ehere in my StaticShape scipt that the shadow code goes.
2 . I need to know what would cause my TSStatics not to cst shadows.
I have collision meshes on them and everything. If needed I can zip the files and post them if someone would be willing to take a look.
I would really appreciate it
Thanks,
James Brad Barnette
#7
Mark's post in your other thread does a great job covering dynamic shadows from StaticShapes.
05/16/2007 (9:09 am)
What size are your TSStatics in relation to the terrain? If they are relatively small objects the terrain light map won't have the resolution to create a shadow. Try scaling the objects up to test if the static shadows are working.Mark's post in your other thread does a great job covering dynamic shadows from StaticShapes.
Torque 3D Owner Marc Dreamora Schaerer
Gayasoft
TSStatic do not cast shadows onto atlas2 at the moment, only onto legacy.
atlas2 currently is only affected by dynamic lights (you would have to use StaticShape for that) as well as the lightmap.