5

Anti-aliasing smooths jagged edges on curved lines and diagonals. How can I enable anti-aliasing on A-Frame?

ngokevin
  • 12,980
  • 2
  • 38
  • 84

2 Answers2

8

You can do:

<a-scene antialias="true">

Note that this does have a performance cost on higher resolution screens, but it is not determined whether that cost is a bottleneck.

ngokevin
  • 12,980
  • 2
  • 38
  • 84
4

I think the previous answer is outdated. It is like this now.

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

Docs

Kirill Kovalevskiy
  • 1,942
  • 2
  • 11
  • 8