# Cutout shadows an alpha-tested material casts a holed shadow (RM-G11). ```{raw} html ▶ Run in browser ``` **Tags:** `3d` `shadows` `cutoff` `alpha-test` `cutout` A material with ``blend="cutoff"`` discards fragments whose albedo alpha is below ``alpha_cutoff``. Before RM-G11 the shadow pass ignored the albedo and such a cutout cast a SOLID silhouette; now the directional (and point/spot) shadow casters sample the albedo alpha and discard holed fragments, so the shadow shows the cutout. Here a horizontal panel textured with a checkerboard alpha mask hangs over the ground under a directional sun: the sun projects the checkerboard through the panel's holes onto the floor. A solid opaque slab beside it casts an ordinary filled shadow for contrast. Usage: uv run python examples/features/3d/cutoff_shadows.py ## Source ```{literalinclude} ../../examples/features/3d/cutoff_shadows.py :language: python :linenos: ```