如何在 A-Frame 中启用抗锯齿?

How to enable anti-aliasing in A-Frame?

抗锯齿平滑曲线和对角线上的锯齿状边缘。如何在 A-Frame 上启用抗锯齿?

你可以这样做:

<a-scene antialias="true">

请注意,这在高分辨率屏幕上确实会产生性能成本,但不确定该成本是否是瓶颈。

我认为之前的回答已经过时了。现在是这样的。

<a-scene renderer="antialias: true">
 ...
</a-scene>

Docs