Skip to main content
gamedev.net
🔒 Locked

Shadowmapping: Light Leaking

Started by sybixsus 1 reply 500+ views
Original Post
sybixsus
sybixsus
I have a fairly simple shadowmapping system in place, but it suffers from light-bleeding and I'm not sure how best to resolve that. When I first implemented it, I was trying to find ways to deal with the artifacts which crop up. It was suggested to me that I use front-face culling during the depth pass, and of course, that's very good at eliminating self-shadowing artifacts because the only areas where any artifacts remain are either facing away from the light or very close to it. Of course, it makes sense that this would also create a problem with light-bleeding into shadowed areas, but I have no idea how I can fix this. Should I be attempting to fix it? And if so how? If not, how should I go about avoiding artifacts if I revert to backface culling? A simple bias was not effective in my levels.
swiftcoder
swiftcoder
Quote:
Original post by sybixsus
Should I be attempting to fix it? And if so how? If not, how should I go about avoiding artifacts if I revert to backface culling? A simple bias was not effective in my levels.
Can you post a screenshot or two of your levels? Shadow mapping techniques are very sensitive to the environment.
Tristam MacDonald. Ex-BigTech Software Engineer. Future farmer. [https://trist.am]

Topic Locked

This topic has been locked by a moderator. New replies are not allowed.

Sign in to reply to this topic.