gl_texture_cube_map
hey, i was getting an error message that GL_TEXTURE_CUBE_MAP wasn't define...
can one of you guys/gals tell me which header file defines this?
and it wud be great if u can tell me which header defines GL_TEXTURE_WRAP_R too... :D
The header in question is gl.h, which is used as GL/gl.h (OpenGL/gl.h on a Mac). However, you may need to update the drivers for your graphics card, and update your header files, to get support for GL_TEXTURE_CUBEMAP and other extensions.
hmm
when i opened my gl.h file,
gl_texture_cube_map is not there... which made me think that it is not defined.
also, gl_Texture_wrap_r is not there too...
do u know where i can get the latest header files?
for gl.h and any others that i need...
huhu... thanks
when i opened my gl.h file,
gl_texture_cube_map is not there... which made me think that it is not defined.
also, gl_Texture_wrap_r is not there too...
do u know where i can get the latest header files?
for gl.h and any others that i need...
huhu... thanks
You are aware that all OpenGL tokens are capitalised, right? That would be GL_TEXTURE_CUBEMAP.
Also, AFAIK, GL_TEXTURE_WRAP_R is only used for 3D textures (not cubemaps).
Also, AFAIK, GL_TEXTURE_WRAP_R is only used for 3D textures (not cubemaps).
oo, thanks dude...
the caps thing i am aware, just lazy to caps it here... haha...
however, i was not with the .._WRAP_R.
because most of te examples that wanted to create a cubemap uses it, so i was a bit confused. can u show me any examples that load 1 picutre (with 6 square images on it) or 6 different pictures to create a cube? thanks a lot.
the caps thing i am aware, just lazy to caps it here... haha...
however, i was not with the .._WRAP_R.
because most of te examples that wanted to create a cubemap uses it, so i was a bit confused. can u show me any examples that load 1 picutre (with 6 square images on it) or 6 different pictures to create a cube? thanks a lot.
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement