Skip to content

PictureStages beta ​

Interface of @v12-engine/render

ts
export interface PictureStages

Which of the picture's passes a frame draws, and into what: what pictureStages decides of the settings

Members ​

blend ​

ts
blend: false | 'still' | 'moving';

The temporal blend: off, or on (moving: the velocity layer read)

bloom ​

ts
bloom: boolean;

The bloom's three passes

depthOfField ​

ts
depthOfField: boolean;

A cinematic's depth of field: its eight passes

film ​

ts
film: false | 'own' | 'screen';

A cinematic's film: the colours split, the grain

finish ​

ts
finish: false | 'own' | 'screen';

The finish: off, into a target of its own (a pass after it reads a pixel for a pixel), or onto the screen

fxaa ​

ts
fxaa: boolean;

FXAA, the last pass

keeps ​

ts
keeps: boolean;

Whether the frame asks for the finished targets (the finish or the sharpening may want them)

occlusion ​

ts
occlusion: false | 'low' | 'high';

The occlusion's five passes, at a quality

onto ​

ts
onto: 'screen' | 'screen stages';

What the last of them draws onto: the screen, or the screen's stages' target (PictureHas.screen)

passes ​

ts
passes: PictureStage[];

The passes drawn, in their order

processed ​

ts
processed: boolean;

Whether the look processes the picture (any of tone mapping, exposure, contrast, saturation, a tint, a vignette)

sharpen ​

ts
sharpen: false | 'own' | 'screen';

The sharpening: off, into a target of its own, or onto the screen

show ​

ts
show: boolean;

The plain showing: the one pass there must be, where no other draws onto the screen