Skip to main content

Interface: ToonHighlightOptions

Defined in: src/rendering/toon/toonShading.ts:28

Options for the specular highlight.

Properties​

color?​

optional color: string

Defined in: src/rendering/toon/toonShading.ts:30

Highlight colour. Default: the mobject colour mixed 60 % toward white.


intensity?​

optional intensity: number

Defined in: src/rendering/toon/toonShading.ts:34

Strength from 0 (none) to 1 (solid).


size?​

optional size: number

Defined in: src/rendering/toon/toonShading.ts:32

Relative size. 1 is a small blob, 3 is a large one.


softness?​

optional softness: number

Defined in: src/rendering/toon/toonShading.ts:36

Edge softness from 0 (crisp blob) to 1 (soft gloss).