Sign in to follow this  

Light shafts again!

Recommended Posts

I've been trying to hack together some volume lighting into my game and it mostly resembles this method: That method gives surperior results and I'd like to try it, but am unsure of some things. If anyone can clarify, it would be greatly appreciated. From my understanding, either there are a bunch of depth maps stored for different sample planes that are used as textures or the planes are rendered and basically shadow mapped. How are the plane oriented? If they are oriented to the light(which would perfectly fit the furstum) then when you view the volume from the side, any perpendicular planes will not be visible, and leave a gap in the volume. This is the problem I'm having now. Plus when they're blended together, it's very hard to notice the shadows cast in the volume. In the sample pictures, with 15 planes the volume still looks amazing, but the casted shadow just seems to suffer. How is it looking that good with only 15 planes. I wouldn't think blurring could cover it up that well.

Share this post

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this