[Interest] QGLWidget::drawTexture transparency woes
Matthew Woehlke
mw_triad at users.sourceforge.net
Tue May 12 18:49:52 CEST 2015
On 2015-05-12 12:18, Matthew Woehlke wrote:
> I'm trying to use QGLWidget::drawTexture to draw a texture with an alpha
> channel, but it is not working; the areas that should be transparent are
> instead black, as if the alpha channel is missing in the GL texture.
Never mind... I had a shader being bound somewhere other than where I
thought, such that it was still bound when I was calling drawTexture.
The shader was nuking the texture alpha channel.
--
Matthew
More information about the Interest
mailing list