-
glDisable(GL_TEXTURE_BUFFER)?
Hi,
In OpenGL 3.3. texturing can be disabled using glDisable(GL_TEXTURE_[1D,2D,3D,CUBE_MAP]), but Calling glDisable(GL_TEXTURE_BUFFER) is not valid.
How are texture buffers conceptually different than other textures? Why can they not be disabled?
Thanks.
-
Member
Regular Contributor
Enabling and disabling texturing is only used in the fixed function pipeline; it is completely ignored when using shaders. Since Texture buffers are only available in shaders, there was no need to make a enable/disable state for it. That's why you get an error.
-
Ok.Thanks for clarifying.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules