Skip to content

@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 ​

PropertyTypeDescriptionDefined in
keyColorColorRepresentationColour to key out (any three.js colour representation, e.g. "#00ff00").render/RenderBackend.ts:47
similaritynumberColour distance below which a pixel is fully transparent.render/RenderBackend.ts:49
smoothnessnumberWidth of the soft edge above similarity.render/RenderBackend.ts:51
spillnumberHow far past the edge the key colour is desaturated (spill removal).render/RenderBackend.ts:53