Unity:有什么方法可以在屏幕 Space - 叠加层 Canvas 上消除锯齿?

Unity: Any way to get anti-aliasing on Screen Space - Overlay Canvas?

我使用的是 Unity,我有一个屏幕 Space - 叠加层 canvas,它有旋转的图像对象。问题是在浅旋转时图像有非常明显的锯齿状边缘。我找不到任何修复此问题的内置抗锯齿解决方案。

我知道设置中的 MSAA 不适用于叠加 canvases,Post 效果包中的抗锯齿也不适用。

我无法更改为屏幕 Space - 摄像头 canvas,我知道这会应用 MSAA,但它会以太多其他方式破坏我的游戏而不可行(我的游戏几乎完成后,我在最后添加了 AA,这可能是一个错误)。

有没有办法让 AA 在叠加层上工作canvas?

Game Development Stack Exchange 上的 the second answer in this question 中提供了一个可能的解决方案:为您的图像添加透明轮廓。

Enabling mip-maps gets you half way there, but the other half of it is to make sure that sides you want smoothed are bordered by alpha transparency. The outer edge of everything you want smooth must be transparent.