LiveGrading
The look’s grade as its stack draws it this frame, which a game may
write every frame to ease the grade, as it would a material’s color.
The look’s own grading fills it when the look mounts or changes, and
each value a look leaves out stands at its identity, which changes
nothing. The operations from postExposure on draw only under
GradingStage.AfterToneMapping, and sharpness and
chromaticAberration only while the look sets one of them, since they
take a pass of their own: a write a stack cannot draw warns once in
development, naming the look’s field to set.
Properties
Section titled “Properties”| Property | Modifier | Type | Description |
|---|---|---|---|
brightness |
public |
number |
- |
chromaticAberration |
public |
number |
The edges’ colour split, 0 for none; drawn only when the look sets it or the sharpness. |
contrast |
public |
number |
- |
dither |
public |
number |
The Bayer dither’s levels, 0 for none. |
grain |
public |
number |
The film grain’s strength, 0 for none. |
hue |
public |
number |
Radians around the color wheel. |
nightSaturation |
public |
number | undefined |
The saturation at full night, which the hour’s night share blends toward; undefined follows saturation at every hour. |
postExposure |
public |
number |
Stops on the screen’s frame; 0 leaves it. |
saturation |
public |
number |
-1 to 1 each; 0 leaves the frame as it is. |
sharpness |
public |
number |
The sharpness, 0 for none; drawn only when the look sets it. |
splitToning |
readonly |
LiveSplitToning |
The shadows’ and the highlights’ offsets, each 0 leaving the frame; write them in place, such as splitToning.shadows.set(0, 0, 0.1). |
tint |
readonly |
Color |
Multiplies the frame’s light: white leaves it, a warm white warms it. Write it in place, such as tint.set("#ffe0c0"). |
whiteBalance |
readonly |
Required<LookWhiteBalance> |
Each 0 leaves the frame; write the fields in place. |