Posted by Sven Gothel on Aug 31, 2015; 11:50pm URL: https://forum.jogamp.org/Problem-with-client-side-textures-tp4035179p4035208.html
On 08/31/2015 06:00 PM, opengltester [via jogamp] wrote:
> 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.
Its all written up in the API doc I have referenced.
Its mapped active-texture-unit -> texture-unit in shader code.
All texture states relate to the current active texture-unit!
In JOGL we also have a few texture unit tests w/ shader
and they all work just fine: