Jump to content
  • Advertisement
Sign in to follow this  
Zarathustra

light probe images

This topic is 3852 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

So, I want to use one of those sphere type images as an env map. Like here I'm useing the uffizi cathedral one. Thing is I have to prefilter.And to do this I have to convert it to a phi/theta notation and convolute with a function that's defined from 0 to Pi/2 now a) Can I just read in the hdr (or if converted, exr) image, take the x,y values, rescale them to [-1,1] range like it says on the linked page, use the u,v vales to compute theta and phi and use those to orden them? b) the function to convolve with is only affected by theta, it's 2D brdf slice so the phi is kept constant. Now my question is, those sphere do 360 degrees where as my (phong) slice goes from 0-Pi/2. any suggestion how to expand this? edit and a third question, not really related. Has anyone ever use the smits method on HDR images?

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!