1681-engine / postfx / VignetteOptions
Interface: VignetteOptions ​
Defined in: src/postfx/VignetteFilter.ts:3
Properties ​
color? ​
ts
optional color?: number;Defined in: src/postfx/VignetteFilter.ts:11
What the edges fade to (default black); a red one is a classic low-health warning.
radius? ​
ts
optional radius?: number;Defined in: src/postfx/VignetteFilter.ts:7
Where the darkening starts, as a share of the way from the centre to a corner (default 0.55).
softness? ​
ts
optional softness?: number;Defined in: src/postfx/VignetteFilter.ts:9
How far beyond radius it reaches full strength (default 0.45).
strength? ​
ts
optional strength?: number;Defined in: src/postfx/VignetteFilter.ts:5
0–1, how dark the corners go (default 0.5).