Game Development Community

Shadow issues using sunlight in Torque 3d

by kane7777 · in Technical Issues · 06/20/2012 (12:08 am) · 4 replies

Hi,

I am having some issues regarding the casting of shadows using sunlight. Everytime I used a sunlight to cast a shadow on a floor plane, the shadow is always wrong and smaller in size. However if I view the application in the world editor by pressing F11, the shadow is perfectly fine, which is very puzzling to me! If I use a spotlight instead of a sunlight, the shadows would be perfectly fine as well!

Anyone who met with this problem before? Please kindly tell me the solution if you know.
Any help is greatly appreciated!
Thanks!

About the author

Recent Threads


#1
06/24/2012 (6:49 pm)
Hi, does anyone know the answer to the issue I'm facing? Please help! I have been stuck here for very long
#2
06/25/2012 (6:39 am)
Can you show a screenshot of the two shadows please? I'm not sure what trouble you're having exactly. In general if it's a graphical issue it's a good idea to show it with a capture.
#3
06/26/2012 (6:50 pm)
Hi, kindly refer to below screen shots.
As you can see the shadows in the first 2 screen shots are having problems, the shadows seems to be smaller and the shadow of the plane is being projected on the plane itself which is so weird!
However when I press F11 to go to the world editor, the shadow seems to be perfectly fine, this is shown in the third screen shot.

farm9.staticflickr.com/8167/7451719546_d19ee1ed7a_b.jpgfarm9.staticflickr.com/8141/7451719784_e03a4826d2_b.jpgfarm8.staticflickr.com/7278/7451719078_da179b28bf_b.jpg
#4
06/29/2012 (12:22 pm)
The two likely causes for this is there is either a node or extra piece of geometry in the teapot casting the shadow, or more likely it's another object in the scene. Does the second shadow only occur with that object?