amark
May 25, 2004, 10:24pm
1
Hi buddy,
With OGL_ES spec:
(You can reference following website
http://www.khronos.org/opengles/documentation/html/glBindTexture.html
)
glBindTexture(GLenum target, GLuint texture)
texture = 0 is reserved to represent the default texture for each texture target.
What does this means? default texture??
For OGL, we use texture = 0 to deactivate
texture. But for OGL_ES, how do we do…
Thanks so much!
core
May 26, 2004, 6:40am
2
The semantic for glBindTexture(target, 0) is the same in OpenGL: it will bind the default texture object (and DOES NOT deactivate texture mapping).
Marco.
MrB
June 2, 2004, 5:33am
3
Just to be clear…
glBindTexture(target, 0)
will bind the default texture, but if you have not specified any data for the default texture (by calling glTexImage2D), then the texture will be incomplete and will therefore switch off texturing on that texture unit.
system
Closed
October 19, 2021, 6:04pm
4
This topic was automatically closed 183 days after the last reply. New replies are no longer allowed.