Renderer · interface
FilmicCurve
A film curve's five numbers, as a grading volume states them.
Explained in Hello world.
interface FilmicCurveimport type { FilmicCurve } from '@driftengine/core';Properties
| Name | Type | Description |
|---|---|---|
slopereadonly | number | The straight segment's slope in log10, through mid grey. Positive. |
toereadonly | number | How much of the curve below mid grey the toe takes, 0 to 1. Larger is a longer, softer toe. |
shoulderreadonly | number | How much of the curve above mid grey the shoulder takes, 0 to 1. Larger rolls off sooner. |
blackClipreadonly | number | How far below 0 the toe's asymptote sits: 0 holds black at black, more crushes it. |
whiteClipreadonly | number | How far above 1 the shoulder's asymptote sits: 0 never reaches white, more lets it clip. |