Overview
Creates a simple AO (occlusion) map from how much each layer is covered by layers in front. It automatically adds soft shadows in gaps between overlapping parts, giving layered compositions more depth.
Usage tips
- A go-to AO chain is occlusion map â
tone_curve(adjust strength) âblend(Multiply). Reduce the strength because direct multiplication is usually too strong. - Routing through
gradient_mapto mix blue-purple into the shadow color gives pixel art a calmer look. - Use
contact_shadow_from_orderfor clearly shaped shadows and this node for soft occlusion.
Related nodes
contact_shadow_from_order/layer_depth_mapâ related nodes in the same lanetone_curve/gradient_map/blendâ adjust and composite the maplist_createâ bundles the layer list
Technical details
- The node finds the frontmost layer at each pixel, then normalizes the count of layers farther forward that have an opaque pixel within the radius.
- A pixel in the frontmost layer has occlusion 0 if nothing lies above it.
Examples
- Gap shadow: occlusion map â adjust strength with
Tone Curveâ bake in withBlend(Multiply) - AO-style calmness: convert occlusion to a pale blue-purple with
Gradient Map, then multiply