Skip to content

MapPictureLook beta ​

Interface of @v12-engine/client

ts
export interface MapPictureLook

How the picture is finished, after the scene is drawn (MapPicture): its tone, exposure, contrast and colours, a bloom where it is bright, a vignette, sharpening. What is left out is as the game says, and the game's as the client's: nothing done to the picture

Members ​

bloom ​

ts
bloom?: number;

What is brighter than threshold (0..1, 0.9) bleeding light around it: how much (0 none), and how far (1)

bloomSpread ​

ts
bloomSpread?: number;

How far the bloom spreads; 1 when left out

bloomThreshold ​

ts
bloomThreshold?: number;

The brightness above which bloom starts, 0..1; 0.9 when left out

contrast ​

ts
contrast?: number;

1 as drawn, more apart, less flat

exposure ​

ts
exposure?: number;

How much light the picture takes in: 1 as drawn, 2 twice as bright

grade ​

ts
grade?: string;

A colour grade: a look-up table of the game's or the map's files (.3dl, or a picture of one, .png), and how much of it (1)

gradeAmount ​

ts
gradeAmount?: number;

How much of the colour grade is used, 0..1; 1 when left out

occlusion ​

ts
occlusion?: number;

Ambient occlusion: creases and the feet of what stands darker, where light from around reaches less: how much (0 none, 1 as much as it gets), and how far around each point it looks, in cells (2). Drawn only where the quality's occlusion is on, which no preset turns on: it costs

occlusionRadius ​

ts
occlusionRadius?: number;

How far around each point occlusion looks, in cells; 2 when left out

saturation ​

ts
saturation?: number;

How strong the colours are: 1 as drawn, 0 grey, 2 twice as strong

sharpen ​

ts
sharpen?: number;

The picture's edges made crisper: 0 none, 1 a lot

tint ​

ts
tint?: [number, number, number];

The whole picture leaning to a colour, 0..1 each, and how much (0..1): a cold night, a warm dusk

tintAmount ​

ts
tintAmount?: number;

How much the tint leans the picture to its colour, 0..1; as 1 when left out

tone ​

ts
tone?: 'none' | 'standard' | 'aces' | 'neutral';

How bright colours are brought into what a screen shows: none cut off (as it always was), standard, aces (a film's: rich, soft highlights), neutral (Khronos's PBR neutral: colours as they are)

vignette ​

ts
vignette?: number;

The edges of the picture darker: how much (0 none, 1 a lot), and in what colour (black)

vignetteColor ​

ts
vignetteColor?: [number, number, number];

The vignette's colour as red, green, blue (0..1); black when left out