neutralTone

Compresses bright color back into range without shifting its hue.

neutralTone(rgb: Expr): Expr

Import materials from shaders/std and use materials.neutralTone.

The last step of a metal or glass look that adds reflection on top of a base color. exposureTone is the cousin for emitted light.

Parameters

NameTypeNotes
rgbExpr

Example

const rgb = neutralTone(mul(env, u.tint.member('rgb')))

See also

  • exposureTone — Turns light that piles past 1 into a soft burn toward white, like film.

Used by

Chrome, Nebula