Apply effects to a source
set_source_effectsApply visual effects to a source: add borders, shadows, glow, or blur. Set properties like color, size, opacity, and style.
Instructions
Apply visual effects to a source. Provide any of border, shadow, glow, blur (each an object). Colors are u32 RGBA integers (0xRRGGBBAA as decimal; e.g. white=4294967295). Examples. Soft shadow: {shadow:{enabled:true,offsetX:6,offsetY:8,blur:20,opacity:0.5,color:255,inner:false}}; white border: {border:{enabled:true,width:6,color:4294967295,style:0}}; blur: {blur:{enabled:true,sigma:8}}. format omitted applies to both canvases.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| blur | No | ||
| glow | No | ||
| border | No | ||
| format | No | ||
| shadow | No | ||
| scene_id | No | ||
| source_id | Yes |