Files
effectcraft/crates/render
vangel76 afdcf956fb Effects: Grid, Checkerboard and Circle keep the layer's mask with Blending Mode None
Masks are applied to a layer before its effects, but with the default
Blending Mode None these generators replaced each pixel with the
generated pattern, so the pattern drew over the whole layer and the
mask was lost. With None the generated alpha is now scaled by the
layer's alpha, as 4-Color Gradient already did (#1381). A shared
gen_alpha helper (CPU) and its WGSL twin hold the rule for Grid,
Checkerboard, Circle and 4-Color Gradient.

Only None keeps the layer's alpha: the other modes composite the
pattern onto the layer as After Effects' blending modes do, and their
alpha outside the layer is not verified against After Effects, so they
are unchanged.

Fixes #3121
2026-11-07 12:13:18 +01:00
..