Quantcast
Channel: Community | MonoGame - Latest topics
Viewing all articles
Browse latest Browse all 6821

Transparent textures in 3D have an outline

$
0
0

@Milun wrote:

Hello,

I've been working on a project for quite a few months now, and I think it's time I looked into fixing a bug I've been having for quite a while.

Due to the visual style of my game, I make very heavy use of planes with transparent .pngs applied to them. As you can see in the image, if I don't sort them correctly I get that ugly outline. The problem is, it's very common in my game for me to have 3+ transparent textures all overlapping each other, so sorting manually becomes very difficult.

I know that if I set my SamplerState to PointWrap, it fixes this issue. However, I don't really like the way it looks (I prefer the textures to look blurry).

Would there be a solution to this? Unfortunately, I know little about custom shaders.

Thanks in advance!

Posts: 3

Participants: 2

Read full topic


Viewing all articles
Browse latest Browse all 6821

Trending Articles