Skip to main content
gamedev.net
🔒 Locked

Multiple Shadow Casters

Started by M_Johnson Mar 22, 2011 at 4:48 PM 1 replies 1k views
Original Post
M_Johnson
M_Johnson
Hi.

I have an issue, in something I'm making I have multiple point lights, each one casting shadows on some boxes/the floor, the problem is that it looks very strange and weird when they're close to each other in the scene (see attached image).

[attachment=1693:ShadowsProblem.jpg]

I know what the issue is, it's that the pixels that are in the shadow of one of the lights (each light is located above each character in the scene) aren't receiving as much light as those in visible by both lights so appear much darker in comparison. I'm just wondering if anyone knows of a good way of handling this?
Aqua Costa
Aqua Costa
Add some ambient light...

Also, the shadows doesnt seem to be correctly rendered...
M_Johnson
M_Johnson
Right you were, one of my shadow maps was flipped. Still looks weird but a little less weird.

Topic Locked

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

Sign in to reply to this topic.