Ichiru's picture

Blending not working?

Hello all!
I have 2 quads with pngs as textures rendered on top of each other
I enabled blending and set the Blend Function through GL.BlendFunc (BlendingFactorSrc.One, BlendingFactorDest.OneMinusSrcAlpha);
However, when it is rendered, the textures only blend with the background color? GL.ClearColor(Color4.White);

Can someone please help me with this?


Comments

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
AndyKorth's picture

Does the second texture actually have an alpha channel? Draw with another ClearColor, like Color.MidnightBlue.