Transparency is not working with QuadRenderer and AlphaBlendPremultiplied

Premultiply Alpha is the default setting of FileTexture . But Transparency is not working with AlphaBlendPremultiplied.

image

AlphaBlendPremultiplied.vl (20.8 KB)

I looks like a problem with the shader used in the Quad. it does a simple multiplication with the tint color (where you set the alpha), but the multiplication with the tint is essentially a color blend operation that works differently for pre or non-pre multiplied colors.

so consider this a bug, we have to add the premultiplied blend op to the shader that does the multiplication with the texture.

This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.