GPUImage
GPUImage copied to clipboard
Does GPUImage expect Unpremultiplied Alpha?
I was trying to load png data into a texture with premultiplied alpha. I noticed transparent white renders more grey, meaning its not handling the premultiplied pixels correctly.
Does GPUImage expect that all image data is unpremultiplied?
I've read that with premultiplied inputs you need to have a special blend function and I haven't found that in the GPUImage source.
I have the same trouble, only completely transparent pixels are drawing actually transparent; Semi-transparent pixels draws with additional transparent grey background;
Yes. See below: https://github.com/BradLarson/GPUImage/issues/1210#issuecomment-25182881 https://github.com/BradLarson/GPUImage/issues/926 https://github.com/BradLarson/GPUImage/issues/768