Login  Register

Re: Problem with client-side textures

Posted by opengltester on Aug 31, 2015; 4:00pm
URL: https://forum.jogamp.org/Problem-with-client-side-textures-tp4035179p4035191.html

Hi,

Yes I tried glActiveTexture and it makes no difference. In any case my understanding is that you use glActiveTexture for textures that have been pushed to a shader but glClientActiveTexture as in this sample. Perversely my shader-based code, which is more complex, works but this simpler class doesn't.

Regarding other code samples and deprecated APIs, I have done my homework and read and translated lots of them already (I posted here the one that doesn't work) but also I want to understand what I am doing, step by step. Thus I don't want to dissect yet another sample and go off doing something completely different at the first real difficulty because that's not the way to learn. I want to understand what is wrong with this code. For the same reason I am trying not to use toolkit-specific utilities too much because I want to understand OpenGL, not some derivative, and furthermore I may have to port this code to C++ later.

Thanks again for your understanding