Quantcast
Viewing all articles
Browse latest Browse all 6821

Gray borders around .png images with TriangleList

@Mateo_Loooong wrote:

Pretty simply, gray borders appear along the outside of my images in 3d space. I load my png file into a Texture2d. I specify a VertexPositionColorTexture of 6 coordinates. My effect is an alpha test effect to remove the transparent parts of my png files (and experimenting with slightly transparent images and the z-buffer with alpha blend).

In this example, I have 2 sets of images meeting perpendicular. They are both opaque and are drawn using a Trianglelist.

I've seen System.Drawing methods of doing it that don't seem to be available in Monogame (at least I can't get it to show).

Posts: 4

Participants: 2

Read full topic


Viewing all articles
Browse latest Browse all 6821

Trending Articles