Transparent pixels in image are rendered as black when using glBlitFramebuffer()
gamedev.net
If I use this code to draw a image WITH TRANSPARENCY to the screen, the transparent pixels are rendered as black, as you can see here:GLuint fboId = 0;glGenFramebuffers(1, &fboId);glBindFramebuffer(GL_READ_FRAMEBUFFER, fboId);glFramebufferTexture2D(GL_READ_FRAMEBUFFER, GL_COLOR_ATTAC
0 Comments ·0 Shares ·231 Views