Stencil Shadow artefact at the camera clipping plane

You discovered a bug in the engine, and you are sure that it is not a problem of your code? Just post it in here. Please read the bug posting guidelines first.
Post Reply
Frank Dodd
Posts: 208
Joined: Sun Apr 02, 2006 9:20 pm

Stencil Shadow artefact at the camera clipping plane

Post by Frank Dodd »

Hello,

While doing some examples with Stencil shadows I have found a strange artefact that appears on the surface of the object.

The artefact is a complete shadow image of the shadowed object at the clipping plane of the camera. I have made it more visible here by shortening the far distance of the camera to just 500.0 units and making the shadows red.

The further away the far distance the smaller it becomes. At the moment I am making the artefact invisible by increasing the camera far distance to 50,000.0 units.

Has anyone else seen this, is it a known problem I couldn't find anything in the forums on it.
Last edited by Frank Dodd on Wed Jun 22, 2011 5:29 am, edited 1 time in total.
hybrid
Admin
Posts: 14143
Joined: Wed Apr 19, 2006 9:20 pm
Location: Oldenburg(Oldb), Germany
Contact:

Post by hybrid »

Yes, this has been reported many times already. But since the shadow also has other problems, it will be replaced by a completely rewritten version. It's almost working already, besides a different projection problem :cry: I think I have uploaded the latest version of the patch on the patch tracker if you want to try it. Maybe you can find the problem or give some hint what is missing.
Frank Dodd
Posts: 208
Joined: Sun Apr 02, 2006 9:20 pm

Post by Frank Dodd »

Thanks Hybrid, I will take a look at it thanks.
Post Reply