Render: the feather test checks the inner effects still draw inside

The edge comparisons pass when a bevel or inner glow is not drawn at all.
A pixel inside the bevel and glow bands now has to differ from the same
object without the effect, for every feather kind.
This commit is contained in:
dotCooCoo committed 2026-11-11 22:18:21 -08:00
1 parent 6854997294
commit 23eb593498
1 file changed
+10
+10
View File
@@ -736,6 +736,16 @@ mod tests {
);
}
}
// Inside the bevel and glow bands the effect still shows, faded with the object
// where the feather reaches.
let inside = px(&plain, threads, 110);
for inner in [1, 2] {
let with = px(&doc(image, feather, inner), threads, 110);
assert!(
diff(with, inside) > 0,
"image {image} feather {feather} inner {inner} threads {threads}: {with:?} at 110, {inside:?} without the effect"
);
}
}
}
}