Skip to content

QualityKnobs beta ​

Interface of @v12-engine/client

ts
export interface QualityKnobs

The knobs of what drawing the game costs

Members ​

antialias ​

ts
antialias: Antialias;

How edges are smoothed (WorldPicture.antialias): none, a pass after the picture (FXAA), the picture blended with the last frames' (TAA, medium's and high's: it smooths shading, foliage and the fades between levels of detail too), the GPU's four samples of each pixel (MSAA, a choice: the sharpest, and the dearest by far where there is much to draw)

debris ​

ts
debris: Amount;

Pieces of what breaks apart, at most: none, 80, 240

decals ​

ts
decals: Amount;

What lies on the ground (blood), how much and how long: none, a part, all the game says

detail ​

ts
detail: 'low' | 'medium' | 'high';

How far things are drawn at full before their lighter levels take over (client.detail): every level's distance at half (low), three quarters (medium), as the game says (high). Nothing where the game has no levels

foliage ​

ts
foliage: Amount;

Tall grass over the game's layers of cells (GameView.ground.cellLayers): none, a third of the tufts, all of them

fx ​

ts
fx: 'low' | 'medium' | 'high';

How many sparks, smoke and weather there are: a part of what the game's effects say

glow ​

ts
glow: GlowQuality;

What is emissive glowing past its edges (client.glow): none, at a quarter of the screen's pixels, at half

lights ​

ts
lights: LightsQuality;

Lamps, torches and runes (client.lights): none, the nearest 32 in view and steady, all of them

occlusion ​

ts
occlusion: OcclusionQuality;

Ambient occlusion where the game or the map asks for it (MapPictureLook.occlusion): none, at half the pixels, at all of them. Nothing is drawn where nothing asks

picture ​

ts
picture: PictureQuality;

The picture finished after the scene (client.picture): tone, colours, bloom, as the game and the map say, or not

renderScale ​

ts
renderScale: number;

A part of the screen's own pixels drawn, from 0.25 to 1 (client.renderScale)

shadows ​

ts
shadows: 'off' | 'low' | 'medium' | 'high';

The sun's shadows: none, or a map of 1024 in two parts, 2048 in two, 2048 in three