Displaying 1 result from an estimated 1 matches for "premultiplydata".
2007 Dec 17
0
Multiplication of RGB with alpha in png plugin
Hi,
The png plugin multiplies RGB components of the pixels with the alpha
component using the premultiplyData function. Because of this, we
always get dark textures when we load transparent png's. Removing
premultiplyData results in expected colors in the loaded texture. So I
was wondering why this multiplication is done. Is there any particular
case that requires this behavior? If not, can we remove t...