@relu-interactives/spatial-ecs
@relu-interactives/spatial-ecs / index / ChromaKeyOptions
Interface: ChromaKeyOptions ​
Defined in: render/RenderBackend.ts:45
Green-screen settings, in the same units as VideoComponent.options.
Properties ​
| Property | Type | Description | Defined in |
|---|---|---|---|
keyColor | ColorRepresentation | Colour to key out (any three.js colour representation, e.g. "#00ff00"). | render/RenderBackend.ts:47 |
similarity | number | Colour distance below which a pixel is fully transparent. | render/RenderBackend.ts:49 |
smoothness | number | Width of the soft edge above similarity. | render/RenderBackend.ts:51 |
spill | number | How far past the edge the key colour is desaturated (spill removal). | render/RenderBackend.ts:53 |

