Skip to content

FXAAEffectDesc

The FXAAEffectDesc class is a Descriptor that applies the FXAA (Fast Approximate Anti-Aliasing) anti-aliasing effect. It reduces jagged edges in the image, producing a smoother appearance.

Type: boolean | undefined

Description: Controls the visibility of the effect descriptor.

Default: true

Example:

{ visible: true }
import ThreeView from "@navaramap/three";
import { FXAAEffectDesc } from "@navaramap/three_default_descs";
const view = new ThreeView();
await view.init();
// Add FXAA effect descriptor
view.addEffect<FXAAEffectDesc>({
fxaa: {},
});

FXAAEffectDesc does not have special configuration parameters. It is applied at the final stage of the rendering pipeline. It is lighter than SMAA but slightly lower in quality. It is suitable when performance is a priority.