Game Development Community

Player shadow not rendering

by Scott Burns · in Torque Game Engine · 06/16/2006 (8:00 pm) · 4 replies

For some reason that isn't clear to me the player's shadow isn't rendering. I'm using a custom character and am only getting what may possibly be a partial shadow from the character's head. Its hard to tell though. Weapons, vehicles and interiors are all casting shadows still.

My artist did some digging and came across a thread that suggested that it could be the bounding box is too small, but I've enlarged the bounds and that doesn't seem to be the case.

Anybody have any ideas on what could be causing this? Is there anything special that needs to be done to the model before export, or after in code/script?

#1
06/16/2006 (8:18 pm)
I've had the same thing happen. Got no real answers. seemed like a complex, multipart mesh may be the cause.
#2
06/16/2006 (8:39 pm)
Hm, well I'm pretty sure that the model is a complex, multipart mesh. We had a version of one avatar that was a single mesh, but it was based on a since abandoned skeleton and has been lost to the ages.

Do you remember how you fixed it at all? Make the model a single mesh maybe?
#3
06/25/2006 (2:24 pm)
The standard software rasterizer does not really support transparent faces. Which means if your mesh texture has any full or partial transparent values you are likely to experience what you described.
#4
06/27/2006 (11:10 am)
Well we got it fixed. The problem was in the hiearchy. According to tutorials the mesh can exist outside of the hiearchy, but that seems to be what was causing the loss of shadows. Adding the mesh back to the hiearchy under the root solved it and we now have shadows again.

Thanks for the help fellas.