Displaying icons with UI canvas

Not really sure how to go about this. I tried raw image, image, and text mesh pro sprite but they all looked bad with a 128x128 png.

Untitled

I tried this, About Vector Graphics | Vector Graphics | 2.0.0-preview.24, but it doesn’t look like it’s meant to be used in UI canvas. It looks like its meant to be used with the UI Toolkit, UI Toolkit And Vector Graphics.

Is there any way to do this in UI canvas? Maybe some way to display a mesh with a texture? I’m using some rounded corner and dropshadow assets so I don’t want to go to UI Toolkit.

1 Like

I noticed it looks better if I generate mipmaps. :thinking:

Maybe I just need to downscale it to like 32x32 instead of 128x128. I’ll report back.

EDIT: Whoops, guess I was making this way too hard. As long as the image is the same dimensions as the canvas resolution then it displays correctly.

Quality Level affects displaying UI images