Black edges on mesh with a transparent texture

Hi guys,

I ran into a problem and I can’t seem to figure out why this happens and how to fix it. I have made this playground to explain my problem:

What I want and think should happen is that everything should be white. Instead, I get those edges that surround the non-transparent part of the texture.

Both hasAlpha and opacityTexture (together or individually) produce the same result.
How can I get rid of those?

Any help is appreciated.

This is because of the texture filtering:

1 Like

Aha, I knew I was missing something.

Thanks a lot man!

1 Like