Skip to content

API Interface QualityTier

github-actions[bot] edited this page Nov 25, 2026 · 5 revisions

Interface: QualityTier

Defined in: src/engine/core/graphics.ts:81

One quality tier.

Properties

ambientOcclusion

ambientOcclusion: AOQuality;

Defined in: src/engine/core/graphics.ts:111

The ambient occlusion quality allowed (needs postProcessing; "off" disallows it).


anisotropy

anisotropy: number;

Defined in: src/engine/core/graphics.ts:101

Texture filtering at grazing angles: 1 (off) to 16, capped at what the GPU supports.


antialias

antialias: AntialiasMode;

Defined in: src/engine/core/graphics.ts:86


bloom

bloom: boolean;

Defined in: src/engine/core/graphics.ts:109

Whether bloom may run (needs postProcessing; a camera's PostProcessing component must ask for it).


cascadedLights

cascadedLights: number;

Defined in: src/engine/core/graphics.ts:97

How many directional lights with shadows get cascaded shadow maps when shadowCascades is above 1 (a whole number, 1 to 4); further ones get a plain shadow map.


depthOfField

depthOfField: boolean;

Defined in: src/engine/core/graphics.ts:113

Whether depth of field may run (needs postProcessing; a camera's PostProcessing component must ask for it).


lights2D

lights2D: Lights2DQuality;

Defined in: src/engine/core/graphics.ts:119

2D lighting quality (ADR 0399): light texture scale, shadowed lights, soft shadows, normal maps, layer batches (LIGHTS_2D_QUALITY).


name

name: string;

Defined in: src/engine/core/graphics.ts:83

Shown in menus and used to pick the tier (Graphics.quality = "High"). Unique.


particles

particles: ParticleQuality;

Defined in: src/engine/core/graphics.ts:117

Particle budget (ADR 0057): scales every ParticleSystem's emission and max particles by PARTICLE_SCALE.


postProcessing

postProcessing: boolean;

Defined in: src/engine/core/graphics.ts:107

Whether post-processing runs at all (ADR 0051). An effect runs only when a camera's PostProcessing component asks for it and the tier allows it; false turns every effect off.


reflectionProbes

reflectionProbes: ProbeQualityName;

Defined in: src/engine/core/graphics.ts:115

Reflection probe capture resolution (ADR 0054): "off" ignores probes; low/medium/high capture 128/256/512 px per face.


renderScale

renderScale: number;

Defined in: src/engine/core/graphics.ts:85

Rendering resolution as a share of the screen's (0.25–2); the screen's pixel ratio is capped at 2 first.


shaderLevel

shaderLevel: ShaderLevel;

Defined in: src/engine/core/graphics.ts:102


shadowCascades

shadowCascades: number;

Defined in: src/engine/core/graphics.ts:92

Cascaded shadow maps (ADR 0053), 1 to 4 (a whole number). Above 1, the first directional light with shadows is drawn with cascaded shadow maps following the main camera; 1 is off.


shadowDistance

shadowDistance: number;

Defined in: src/engine/core/graphics.ts:99

How far the shadow cascades reach from the camera, in metres (10–1000).


shadows

shadows: ShadowQuality;

Defined in: src/engine/core/graphics.ts:87

Clone this wiki locally