Re: Problem with client-side textures
Posted by
gouessej on
Sep 01, 2015; 7:34am
URL: https://forum.jogamp.org/Problem-with-client-side-textures-tp4035179p4035216.html
gouessej wrote
glClientActiveTexture can be used when you create your vertex array or your VBO
opengltester wrote
There is no VBO in that code: it's old-style code. The flow is
opengltester wrote
<call glDrawArrays>
Please read more carefully my comments, I mentioned the vertex arrays too. Sven just tried to show you some working examples (look at mgl_ActiveTexture in the GLSL fragment shader and glActiveTexture in the Java code) so that you can use as source of inspiration to fix your own code.