Expand description
DropShadowFilter — alpha extract → blur → composite under source.
Four logical passes implemented inside a single Filter::render_pass
invocation (we manage our own scratch render targets — scratch_a and
scratch_b):
- Extract the source alpha, offset by
offsetand tinted withcolor, into the first scratch. - Horizontal Gaussian blur on the first scratch into the second.
- Vertical Gaussian blur back into the first scratch (now the blurred shadow).
- Composite source over the blurred shadow into
output.
Structs§
- Composite
Cache 🔒 - Drop
Shadow Filter - Drop-shadow post-process.
- Extract
Cache 🔒 - Extract
Uniforms 🔒