Skip to content
Robert Konrad edited this page Aug 8, 2016 · 11 revisions

Anti-Aliasing

Anti-Aliasing can be enabled globally by providing the samplesPerPixel parameter of the init options object e.g. System.init({samplesPerPixel: 4}, callback);

This enables hardware anti-aliasing and tries to find a supported sample count which is as close to the supplied parameter as possible. Hardware anti-aliasing is not supported on every hardware/os/driver/target combination. Also modern hardware usually defaults to multisample anti-aliasing which only takes care of polygon edges.

Clone this wiki locally