Game Development Community

Point light shadow artifact [UNSOLVED]

by Bjarke Pedersen · in Torque 3D Beginner · 10/19/2013 (5:30 am) · 2 replies

I have a problem. When i put a lamp over a point light, it creates these weird shadow artifacts.
i.imgur.com/EcjBDwA.png
All the normals are correctly orientet.
Here is a wireframe:
i.imgur.com/DeRCMR8.png
When i rotate the point light, the artifacts also rotate.
i.imgur.com/fyx188X.png
This might have something to do with the way a point light works. You know, where it is mapped with two different sides. I have no idea how to fix this.

About the author

Recent Threads


#1
10/19/2013 (5:54 am)
It's the split in the light's shadow type. Point lights are made from 2 hemisphere's and the low quality/fast performance types have a bigger split.

There's a ... gui in the editor that shows how selected lights work, but I can't remember what it is called right now - might be "shadowVis".

Also try other shadow types and fiddle with the shadow settings to see the difference.
#2
10/19/2013 (6:18 am)
I see what you mean. I found that the DualParaboloid works better. Note that the image placement might be messed up. Just open them in a new tab.

i.imgur.com/vxrn7sp.png?1
But now there is a new problem. When i position the light up under the lamp, it gets completely blocked, and there are no trianlges with flipped normals to block the light.
Edit: It seems to be blocked by the bounding box. I might be wrong.

i.imgur.com/VnmusRl.png?1