Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我需要用精灵显示带有圆角的图像。做这个的最好方式是什么。
如果您的意思是平滑您正在绘制的图像的角落,则无法使用正常的精灵界面(除了修改原始图像以预先平滑)要做到这一点,您必须使用着色器。
我在你的另一篇文章中解释了如何做到这一点......
如何将纹理剪裁成圆形