oklabToLinear function
`fromOklab` in a shader: linear sRGB of an OKLab colour, clamped to the gamut.
import { oklabToLinear } from '@dioramajs/diorama/kit'function oklabToLinear(lab: Node<'vec3'>): Node<'vec3'>Parameters
| Name | Type | Description |
|---|---|---|
lab | Node<'vec3'> |
Also exported from @dioramajs/effects/kit.
Defined in packages/effects/src/kit.ts.