PictureSettings beta
Interface of @v12-engine/render
export interface PictureSettingsWhat the picture's passes do, each read every frame: the client's MapPictureLook and its quality's knobs
Members
bloom
bloom: number;How much of the glow around what is bright is added (0: none)
bloomSpread
bloomSpread: number;How wide the glow is: 1 is 64 pixels
bloomThreshold
bloomThreshold: number;How bright a pixel is before it glows, after the exposure
contrast
contrast: number;How far the colours are pushed from the middle grey, after the gamma (1: as they are)
exposure
exposure: number;What the colour is multiplied by before the tone mapping (1: as drawn)
fxaa
fxaa: boolean;FXAA, the last pass
lens
lens?: PictureLens;A cinematic's lens (the client's CinematicPicture, as it resolves it): none, or nothing in it, no pass of its
occlusion
occlusion: number;How dark the occlusion is in a crevice (0: none; the client's looks have 0.6)
occlusionQuality
occlusionQuality: 'low' | 'high';high: a quarter of the pixels, 16 samples; low: a sixteenth, 8 samples
occlusionRadius
occlusionRadius: number;How far around a point what hides it is looked for, in cells
passes
passes?: PostPass[];A game's own passes over the picture (post/gamePasses.ts: Renderer.post.addPass), at their places: read every frame, the one array carried from a chain to the next. None, or none on: no pass of theirs
renderScale
renderScale?: number;The share of the canvas's pixels a side the picture is drawn at, from 0.25 to 1 (1 where left out): the last pass brings it up to the screen. Read by the renderer, which makes the chain again when it changes
saturation
saturation: number;How full the colours are (1: as they are, 0 grey)
screen
screen?: ScreenStages;The screen's stages (post/screen.ts: a cut's transition, the videos, a blur, the frame), as the client writes them: read every frame, and with nothing asked there is no pass of theirs
sharpen
sharpen: number;How much the sharpening adds (0: none)
showOcclusion
showOcclusion?: boolean;A debug view: the occlusion's mask alone, as the finish reads it
taa
taa: boolean;The temporal blend: every frame drawn a part of a pixel aside, eight of them blended
tint
tint: readonly [number, number, number];A colour the whole picture leans to, as much as tintAmount
tintAmount
tintAmount: number;How much the picture leans to tint (0: none)
tone
tone: 'none' | 'standard' | 'aces' | 'neutral';The tone mapping: none, the standard one, ACES or the neutral one
vignette
vignette: number;How dark the corners are (0: none), and in what colour
vignetteColour
vignetteColour: readonly [number, number, number];The colour the corners darken to