r/unrealengine • u/Paradoxical95 Solo Dev - 'Salvation Hours' • Mar 22 '23
User Interface looking pixelated UMG
I was following this tutorial on making 3D Main menu.I was successful however the text on buttons in my game look bad. They look pixelated. What am I doing wrong? Is it the canvas size ? or is it that my font is too big relative to the screen size?
Also, other options look muddy for some reason. Why is that.?
As you can see. The button that I hover on looks even more pixelated than the normal ones.
0 Upvotes
2
u/jawdy Mar 22 '23
Are your buttons (with New Game, Options text etc) imported as Images?
First, open up the Textures and check the "Compression Settings." Then change these to "UserInterface2D (RGBA)." This should fix the aliasing you're seeing.
But also, you might want to switch to using a Text Box (or Rich Text Box) instead of hard coding your text into a texture. Unreal has a text rendering mechanism that will up/down scale font textures (it converts fonts to textures) and you can have localisation/translation on your text, without the need for dozens of custom textures that you'd need to swap out yourself.