1.5 Shadow clipped
by Fyodor -bank- Osokin · in Torque Game Engine · 11/15/2006 (4:42 am) · 5 replies
Coming closer to the fire makes shadow render fine.Moving FROM fire the shadow is cropped at the same range, and at "clip" range position disappears at all.
About the author
Game developer.
Recent Threads
#2
11/15/2006 (5:20 am)
I don't think it's player bBox related problem, as other lights are seems to be fine. If you run starter.fps and run around (as on picture) you can see how this bug "acts". Other lights (near houses) works as it should work.
#3
11/15/2006 (5:54 am)
Might be a light radius issue, if you change the light radius does the clipping move further away?
#4
11/21/2006 (12:39 pm)
I've seen this one also. In my cases, the shadow edge corresponds to a terrain edge, where the faces on either side of the edge are not in the same plane. Also, it does not always cutoff completely, but the farther part of the shadow is lighter. It's as if a distance calculation or something is producing a discontinous shading of the shadow across the edge.
#5
11/29/2006 (10:30 am)
Jeff nailed it - the face that isn't displaying the shadow is facing away from the object's center (generally the character's feet), if there are other nearby surfaces that face the object, they probably do show the shadow (unless they are too far away).
Torque Owner Stefan Lundmark