Premultiplied Textures
Posted by Sebastian Greif on Jul 26, 2012; 3:46pm
URL: https://forum.jogamp.org/Premultiplied-Textures-tp4025659.html
Hi all,
we are using jogl in our project already for a long time.
Recently i tried to switch from a previous Jogl 2.x version (from march) to the latest jogl 2.0-rc9 libs.
Everything works fine, except that the textures seems to be not premultiplied anymore.
Rendering textures with alpha values with blend option gl.glBlendFunc(GL.GL_ONE, GL.GL_ONE_MINUS_SRC_ALPHA) ( which is the correct way to use with pre multiplied textures) does result in white areas where the transparent pixels should be.
Are there some changes in the ways how jogl handles textures and alpha values?
Thanks in advance and best regards.
Sebastian