Jump to content
  • Advertisement
Sign in to follow this  
cherryyosh

GL_RGBA16F_ARB vs GL_RGBA16

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

Hi, Just wondering what's the difference between GL_RGBA16F_ARB and GL_RGBA16? Are they the same thing? or does the 16F_ARB allow for a wider range of values? Or..? Thanks,

Share this post


Link to post
Share on other sites
Advertisement
To the best of my knowledge, GL_RGBA16 is just like any other non float format, but with higher precision. So it will still clamp your values to [0, 1]. It is also more widely supported, as it has been around since GL 1.1.

The big distinction is that GL_RGBA16F can have values that aren't limited to the range [0, 1]. However, it has fewer platforms that support it, or only support the format but not accessory features (blending, filtering, etc).

That's my current understanding of the two, so it may not be 100% correct. However, from my own small tests, that seems describe the key differences.

Share this post


Link to post
Share on other sites
I must make a correction to my prior post, based on the following thread, and the linked document.

http://www.gamedev.net/community/forums/topic.asp?topic_id=454343
http://developer.nvidia.com/object/nv_ogl_texture_formats.html

At least in the case of nvidia hardware, RGBA16 targets are internally represented as RGBA8 targets.

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.

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!