[0.8 PC GL] copy texture to TextureSet
hi all,
back in the 0.5 days before textureSets, one could simply set one's own textureID to eyeTex.OGL.TexId and call it a day. Could anyone please offer a code snippet/workflow description of how to do something similar with 0.8 in OpenGL?
what I tried:
- glBindTexture (my own texture (GLuint handle) with a combined left/right image)
- get ovrGLTexture* tex = (ovrGLTexture*)&pTextureSet->Textures[pTextureSet->CurrentIndex]
- glCopyTexSubImage2D (target tex->OGL.TexID)
regards
back in the 0.5 days before textureSets, one could simply set one's own textureID to eyeTex.OGL.TexId and call it a day. Could anyone please offer a code snippet/workflow description of how to do something similar with 0.8 in OpenGL?
what I tried:
- glBindTexture (my own texture (GLuint handle) with a combined left/right image)
- get ovrGLTexture* tex = (ovrGLTexture*)&pTextureSet->Textures[pTextureSet->CurrentIndex]
- glCopyTexSubImage2D (target tex->OGL.TexID)
regards
