Skip to content

1681-engine / postfx / BloomOptions

Interface: BloomOptions ​

Defined in: src/postfx/BloomFilter.ts:4

Properties ​

blur? ​

ts
optional blur?: number;

Defined in: src/postfx/BloomFilter.ts:12

Blur strength of the glow, pixels (default 8).


intensity? ​

ts
optional intensity?: number;

Defined in: src/postfx/BloomFilter.ts:10

How strongly the glow is added back (default 1).


knee? ​

ts
optional knee?: number;

Defined in: src/postfx/BloomFilter.ts:8

How gradually the glow comes in above the threshold (default 0.2).


quality? ​

ts
optional quality?: number;

Defined in: src/postfx/BloomFilter.ts:14

Blur quality: passes (default 4).


threshold? ​

ts
optional threshold?: number;

Defined in: src/postfx/BloomFilter.ts:6

Brightness (0–1, the brightest channel) from which a pixel glows (default 0.7).

Released under the MIT License.