Remove aliasing from drawText

Hello guys,

is there a way to draw a text without pixelated edges? Even though I increase the texture size to 4k it is definitely aliasing:

Is it possible to reduce the aliasing or to draw a text with an alternative method?


I learnt this from @Evgeni_Popov :smile:

Adding this line seems to help:
mat.useAlphaFromDiffuseTexture = true;

You are setting background color to transparent. Without this parameter, the transparent background doesn’t blend with the text color.


Thank you! That’s way better.

But unfortunately the aliasing is still very present if you are not extremely close to the text. Even with setting the hardwareScalingLevel: