-
How do you query which is the active texture unit
... in multitexturing?
That is the question Thanks!
-
Advanced Member
Frequent Contributor
Re: How do you query which is the active texture unit
you use glGet with GL_ACTIVE_TEXTURE as the first parameter
http://www.opengl.org/sdk/docs/man/xhtml/glGet.xml
but i would think it's faster just to tell it which one should be active, or just keep track of it yourself using a simple variable.
-
Re: How do you query which is the active texture unit
Thanks!
I realized after 2 hours of debugging that I don't need to query it after all, but I can't remove the topic :P
Thanks anyway!
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