Jump to content
  • Advertisement
Sign in to follow this  
ThomasM

OpenGL frambuffer_object combined with vertex texture fetch

This topic is 4675 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! I want to set up a framebuffer_object with a depth_component texture to use it for rendering data afterwards. I want to use it as a vertex texture when drawing so no time will be lost for copying. So far so good but here it says that the only hardware accelerated texture formats for vertex textures are GL_RGBA_FLOAT32_ARB, GL_RGB_FLOAT32_ARB, GL_ALPHA_FLOAT32_ARB, GL_LUMINANCE32_ARB, GL_INTENSITY32_ARB, GL_FLOAT_RGBA32_NV, GL_FLOAT_RGB32_NV, GL_FLOAT_RG32_NV, or GL_FLOAT_R32_NV. And here it is said that "DEPTH_COMPONENT textures are treated as ALPHA, LUMINANCE, or INTENSITY". Although that's the specification for a fragment shader I have no idea which format otherwise is right. So the only possible formats seem to be GL_ALPHA_FLOAT32_ARB, GL_LUMINANCE32_ARB and GL_INTENSITY32_ARB. But these formats don't even exist ! Does anyone has an idea how to solve this?

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!