Skip to content

Interface: StylePresetLighting ​

Defined in: StylePresets.ts:22

Properties ​

ambientColor ​

ts
ambientColor: number;

Defined in: StylePresets.ts:23


ambientIntensity ​

ts
ambientIntensity: number;

Defined in: StylePresets.ts:24


directionalColor ​

ts
directionalColor: number;

Defined in: StylePresets.ts:25


directionalIntensity ​

ts
directionalIntensity: number;

Defined in: StylePresets.ts:26


directionalPosition ​

ts
directionalPosition: [number, number, number];

Defined in: StylePresets.ts:27


rimStrength ​

ts
rimStrength: number;

Defined in: StylePresets.ts:28


ssaoRadius ​

ts
ssaoRadius: number;

Defined in: StylePresets.ts:29


ssaoKernelSize ​

ts
ssaoKernelSize: number;

Defined in: StylePresets.ts:30


fillIntensity? ​

ts
optional fillIntensity?: number;

Defined in: StylePresets.ts:32

Fill light intensity (default 0.45).


silhouetteDarkening? ​

ts
optional silhouetteDarkening?: number;

Defined in: StylePresets.ts:34

Fragment shading of CPU-composited surfaces.


thresholdOutline? ​

ts
optional thresholdOutline?: number;

Defined in: StylePresets.ts:35


thresholdOutlineShade? ​

ts
optional thresholdOutlineShade?: number;

Defined in: StylePresets.ts:36


overlayEmission? ​

ts
optional overlayEmission?: number;

Defined in: StylePresets.ts:37

Released under the MIT License.