Renderer · interface

FilmicCurve

A film curve's five numbers, as a grading volume states them.

Explained in Hello world.

interface FilmicCurve
import type { FilmicCurve } from '@driftengine/core';

Properties

NameTypeDescription
slopereadonlynumberThe straight segment's slope in log10, through mid grey. Positive.
toereadonlynumberHow much of the curve below mid grey the toe takes, 0 to 1. Larger is a longer, softer toe.
shoulderreadonlynumberHow much of the curve above mid grey the shoulder takes, 0 to 1. Larger rolls off sooner.
blackClipreadonlynumberHow far below 0 the toe's asymptote sits: 0 holds black at black, more crushes it.
whiteClipreadonlynumberHow far above 1 the shoulder's asymptote sits: 0 never reaches white, more lets it clip.