Enum ScyllaAAMode
Defines pipeline-agnostic anti-aliasing modes for camera configuration within the Scylla framework. This enum provides a unified abstraction over the different anti-aliasing implementations offered by Unity's render pipelines, allowing camera settings to be configured without coupling to a specific pipeline's API.
Namespace: Scylla.Core
Assembly: ScyllaCore.dll
Syntax
public enum ScyllaAAMode
Remarks
When using URP, values map to UnityEngine.Rendering.Universal.AntialiasingMode.
When using HDRP, values map to HDAdditionalCameraData.AntialiasingMode.
The mapping is handled internally by the Scylla camera system, so consuming code
does not need to be aware of the active render pipeline.
The quality level for each mode can be further refined using ScyllaAAQuality. Not all modes support all quality levels on every pipeline; unsupported combinations are silently clamped by the pipeline.
Fields
| Name | Description |
|---|---|
| FXAA | Fast Approximate Anti-Aliasing. A lightweight, single-pass post-processing technique that smooths edges by detecting contrast boundaries in the final image. FXAA has the lowest performance cost of all post-process AA modes, making it well-suited for mobile devices and performance-constrained targets. The trade-off is a slight overall blurring of the image, which can reduce fine detail. |
| None | No anti-aliasing is applied. The image is rendered without any edge-smoothing post-processing. This provides the best performance and is suitable for pixel-art styles or when MSAA is used at the pipeline level instead. |
| SMAA | Subpixel Morphological Anti-Aliasing. A multi-pass post-processing technique that detects edges by analyzing local contrast patterns and applies targeted smoothing along detected boundaries. SMAA provides higher visual quality than FXAA with better edge detection and less overall image blurring, at a moderate increase in GPU cost. The quality can be adjusted via ScyllaAAQuality. |
| TAA | Temporal Anti-Aliasing. A high-quality technique that accumulates color information across multiple frames using motion vectors to produce smooth edges with subpixel accuracy. TAA provides the highest visual quality of all post-process AA modes but requires motion vectors and may introduce ghosting artifacts on fast-moving objects or during rapid camera movement. Best suited for high-end platforms where frame stability and visual fidelity are priorities. |