Skip to content

1681-engine / pixel / Ramp

Interface: Ramp ​

Defined in: src/pixel/ramp.ts:52

Tones of one colour in one material, darkest to brightest. base is the colour itself.

Properties ​

base ​

ts
base: number;

Defined in: src/pixel/ramp.ts:57


dark ​

ts
dark: number;

Defined in: src/pixel/ramp.ts:55


deep ​

ts
deep: number;

Defined in: src/pixel/ramp.ts:54

Under-edges, rivets, seams: the darkest tone that is still the material.


glint ​

ts
glint: number;

Defined in: src/pixel/ramp.ts:60

One specular pixel: a plate's glint, a strand of hair, a buckle.


light ​

ts
light: number;

Defined in: src/pixel/ramp.ts:58


mid ​

ts
mid: number;

Defined in: src/pixel/ramp.ts:56

Released under the MIT License.