← back to roto on ba3a.dev

ShadeSettings

@Serializable
data class ShadeSettings(val lowPercentile: Double = 5.0, val highPercentile: Double = 95.0)

How a clip's zones are shaded; stored per clip in profile.json. Each zone's lightness range runs from its lowPercentile to its highPercentile over every frame of the clip, and is split evenly into the steps of its ramp. Trimming the extremes keeps a few specular highlights or deep creases from stretching the range and flattening everything else into the middle steps.

Constructors

Link copied to clipboard
constructor(lowPercentile: Double = 5.0, highPercentile: Double = 95.0)

Properties

Link copied to clipboard

the percentile of lightness that is the top of a zone's range

Link copied to clipboard

the percentile of lightness that is the bottom of a zone's range