Jump to content
  • Advertisement
Sign in to follow this  
-mainframe-

Different internal formats in the mipmap levels of one texture?

This topic is 4524 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'm just creating some kind of HDRL-Engine. For that, I'm rendering the image to a texture. I need the mipmap levels up to level 3 colored to create a blurr effect to make bright parts of the image glowing. All the levels up to the maximum level are just needed to determine the average luminance of an image, so it would be great if I'd just have the luminance information to save bandwidth. Can I store mipmap levels with different internal formats in one texture or am I forced to use 2 textures? Thx in advance, -mainframe-

Share this post


Link to post
Share on other sites
Advertisement
im pretty sure u cant have different mipmap internal formats for the levels (itll be in the spec though)

Share this post


Link to post
Share on other sites
Zedzeek is correct. Section 3.8.10 in the 2.0 specification lists a few points about texture completeness, and this is the first point.
Quote:

The set of mipmap arrays [...] were each specified with the same internal format.

Share this post


Link to post
Share on other sites
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!