Skip to content

API Interface QualityTier

github-actions[bot] edited this page Dec 2, 2026 · 5 revisions

Interface: QualityTier

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

One quality tier.

Properties

ambientOcclusion

ambientOcclusion: AOQuality;

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

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


anisotropy

anisotropy: number;

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

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:114


bloom

bloom: boolean;

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

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:125

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:141

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:147

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


lodBias

lodBias: number;

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

Multiplies every LODGroup's screen-relative height before its level is chosen (ADR 0542 §5; 0.1–5): above 1 keeps detail longer, below 1 drops it sooner.


lodCrossfade

lodCrossfade: boolean;

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

Whether LODGroups with fade: "crossfade" crossfade between levels (ADR 0542 §4); off, they switch at once.


lodFirstLevel

lodFirstLevel: number;

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

The most detailed LOD level this tier draws (ADR 0542 §5; a whole number, 0–7): 1 never draws LOD0.


name

name: string;

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

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


occluderBudget

occluderBudget: number;

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

Occluder triangles rasterised per view (ADR 0543 §5; a whole number, 0–200000).


occlusionBuffer

occlusionBuffer: OcclusionBufferQuality;

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

The occlusion culling depth buffer (ADR 0543 §5): off, low (256×128) or high (320×180).


occlusionViews

occlusionViews: number;

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

How many views per frame run occlusion culling (ADR 0543 §4; a whole number, 0–8): 1 is the main camera.


particles

particles: ParticleQuality;

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

Particle budget (ADR 0057): scales every ParticleSystem's emission rates and bursts by PARTICLE_SCALE (not its particle limit).


postProcessing

postProcessing: boolean;

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

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:143

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:113

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:130


shadowCascades

shadowCascades: number;

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

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:127

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


shadows

shadows: ShadowQuality;

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


water

water: WaterQuality;

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

Water interaction quality (ADR 0663 §4): the wake field's size, disturbers, contact foam and wall impact points (WATER_QUALITY).

Clone this wiki locally