My game has vector icons and sprites, like this one:
Its quality disappoints me. I guess that antialiasing is disabled here for some reason, but have no idea how to turn it on.
The problem is only with UI component SVG Image. Sprite Renderer seems to not have this issue:
Regular Image does not support vector icons. I tried this approach.
MSAA is enabled on Camera and in Quality settings. When it's disabled, second sprite becomes exactly the same as first.
Unity version: 2018.2.7.f1 for Linux
Vector graphics package version: 1.0.0-preview.23
I will accept a solution or an optimal workaround of any complexity. But please don't suggest using raster images.
Why?
- I have to compress them because the game is for WebGL and I already had problems with memory because of textures. Vector sprites take less memory.
- Without mipmaps icons are pixelated. With mipmaps, they look blurry. They are all power of two, but at different scales. They are even blurred different, some more, some less. I can't use fixed-sized sprites because there's an animation that changes zoom, and canvas will rescale in fullscreen.
Vector guns are to the left, raster ones with mipmaps - to the right. Thin black border lines are gone.