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!
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!
#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
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.


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.


#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?
kane7777