Jump to content
  • Advertisement
Sign in to follow this  
_Seth_

OpenGL Soft shadows using layered attenuation map

This topic is 5057 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

Hello guys, I'd like to code that technique for a project: http://graphics.stanford.edu/papers/shadows/ the first one called Layered attenuation map. First, I'd like to know has anyone seen that technique implemented somewhere, an example, a bit of code about it? My first question is about the second part of the algorithm. Once you have built your attenuation map with renders from the light point of view, you switch back to camera point of view (a bit like shadowmapping) and then you render the whole scene with texture and lightning. After that, for each pixel of the image, you check if that pixel is in your attenuation map and if so, modulate its color by a factor. I'd like to know how to get a pixel information from a rendered view and then change its color and write it back to produce a final render or image and so on for each pixel of the image? In OpenGL of course. Thank you! Jeff

Share this post


Link to post
Share on other sites
Advertisement
Sign in to follow this  

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!