Hi!
I'm in front of a problem that doesn't seem to be that of a challenge but still, I'm stuck with it
I've a Quads vertexArray and I've a .png with transparency in it.
The problem is that when displaying the vertices with the texCoords of the image, it shows black instead of transpanrecy
Here's my .png:
I'm defining the vertices' texCoords as follows:
levelVertex[0].texCoords = CORNER_UP_LEFT_TEXTURE;
levelVertex[1].texCoords = CORNER_UP_RIGHT_TEXTURE;
levelVertex[2].texCoords = CORNER_BOTTOM_RIGHT_TEXTURE;
levelVertex[3].texCoords = CORNER_BOTTOM_LEFT_TEXTURE;
When displaying, here's what I get:
I tried to set the four vertices' color to sf::Color::Transparent but with that done, it displays a full black Quad
Any thoughts about that?