Login  Register

Re: Shader Uniform Sampler2D Update in TextureUnitState not applied

Posted by rndmbt on Nov 25, 2023; 11:18am
URL: https://forum.jogamp.org/Shader-Uniform-Sampler2D-Update-in-TextureUnitState-not-applied-tp4043151p4043161.html

Thanks philjord, that gives me plenty to test out.

I was also digging into the depths of the retained classes but had no success finding where the update of the image is rejected. Did a quick test of changing the updateNative(Canvas3D cv) Method and that indeed is what i was looking for. It makes everything work as intended. So I think i will add a flag to the Texture and TextureRetained classes for now and activate that in the AppearancePass2 Texture.