Game Development Community

Shadows not displaying on my player

by Peter Simard · in · 09/26/2006 (1:09 pm) · 4 replies

I am running TLK 1.4 and have no issues with shadows on all of my models except my main player model. Here is a screenshot of the player standing next to a tiger.

img167.imageshack.us/img167/7978/screenshot00600001ro5.jpg
As far as I know the model has no holes and no transparency. How would I go about debugging this?

#1
09/26/2006 (1:22 pm)
Perhaps your bounding box is incorrectly sized. Check the coordinates in player.cs within your playerData dataBlock.
#2
09/26/2006 (1:43 pm)
Nope, bounding box is fine. It encompasses the entire mesh.
#3
09/26/2006 (1:54 pm)
Shape base objects skip shadow generation if the object has another mounted to it (another object, images are ok), if it's transparent, or cloaking (any cloak level other than 100% visible).


Off Topic: try enabling the pref $pref::OpenGL::sgDynamicDTSVectorLighting - it will provide better shading on your models.
#4
09/26/2006 (2:11 pm)
Thanks John! Not only did enabling that option make the models look much better, but it fixed the shadow problem! Now I just need to add the equipment to the shadow.

img242.imageshack.us/img242/451/screenshot00700001df9.jpg