Image is pixelated

I am importing a texture and it looks pixelated and not at all sharp. Also if I reduce the visibility, the alpha is no longer cutoff. Why is this happening?

I am not able to find a solution for this. Stuck at this since some time now.

I believe you just need this:

    mat.useAlphaFromDiffuseTexture = true;

I’m not 100% sure on the technical details there, but that fixes it for me.

1 Like

Hey yes thanks alot! It works. Now the issue is that it looks very low resolution. No idea why though.

The image you’re using is only 41x41, maybe just use something a little more hi-res.

1 Like