Jump to content
  • Advertisement
Sign in to follow this  
jjtulip

OpenGL Cubemap filtering via GLSL

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

I am trying to wrap my head around IBL and I am currently looking at the UE4 approach . I think I understood the concept behind, but I am still a bit dubious on a simple implementation detail due to my inexperience with OpenGL or similar. 

 

I need to filter a cubemap on various mip levels and I wanted to try it in shader, but is at this point that my doubts come in. How can I approach this? 

 

My googling led me to a way to create a cubemap FBO, but the only thing I can think of is  process each face singularly using quads as geometry and outputting to the right cubemap face. Is there any way to make this more clever, directly outputting to the final cubemap in one go?  I don't have a scene to render in it, just "copy" and filter an existing cubemap.

 

Thanks!

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.

GameDev.net is your game development community. Create an account for your GameDev Portfolio and participate in the largest developer community in the games industry.

Sign me up!