Re: Shader Uniform Sampler2D Update in TextureUnitState not applied
Posted by basti on Nov 25, 2023; 12:31pm
URL: https://forum.jogamp.org/Shader-Uniform-Sampler2D-Update-in-TextureUnitState-not-applied-tp4043151p4043163.html
rndmbt,
now i understand, thanks :)
Something i forgot to mention is that OR-ing capabilities together is not allowed, so they should
be set separately.
imageBuffer.setCapability(ImageComponent2D.ALLOW_IMAGE_READ);
imageBuffer.setCapability(ImageComponent2D.ALLOW_IMAGE_WRITE);
drawRaster.setCapability(Raster.ALLOW_IMAGE_WRITE);
drawRaster.setCapability(Raster.ALLOW_IMAGE_READ);
drawRaster.setCapability(Raster.ALLOW_SIZE_READ);
drawRaster.setCapability(Raster.ALLOW_SIZE_WRITE);
Best regards,
basti