I'm making a mesh using GEMglVertex3f, but I can't get a texture to apply to it. Should you be able to connect a pix_texture into a GEMglBegin, or is there another way you have to do it?
How do you texture an opengl primitive?
I'm making a mesh using GEMglVertex3f, but I can't get a texture to apply to it. Should you be able to connect a pix_texture into a GEMglBegin, or is there another way you have to do it?
For now, got it to work using [polygon] instead.
in plain OpenGL, you need to set the texture coordinates for each vertex, in Gem it's probably:
GEMglTexCoord2f
not sure if that is all that's needed in the GemGL side..
Oops! Looks like something went wrong!