Destruction node
shatter_glass
Shatters a flat panel (glass window, ice sheet, thin slab) with a radial + concentric crack pattern around an impact point. The panel normal is its thinnest bbox axis. Output pieces like voronoi_fracture (prim `name`, groups `inside`/`outside`, `Cd`). Pair with rbd_solver (activation='radius' around the impact) for a window smash.
Inputs
- 0panel
Parameters 9
impact_uvvector 2Impact point in the panel's normalised 2D coordinates (0..1 along its two largest bbox axes).
radialintNumber of radial cracks.
ringsintNumber of concentric crack rings.
ring_growthfloatEach ring is this much farther out than the previous (small shards near the impact).
first_ringfloatRadius of the first ring as a fraction of the panel size.
jitterfloatRandomness of crack angles and ring radii.
seedintRandom seed.
inside_colorcolourPrim Cd of crack faces.
outside_colorcolourPrim Cd of panel faces when the input has no Cd.
Use it
Add it from the node menu (right-click empty graph space or Tab, then type shatter_glass), ask the AI for it by name, or add it with a graph op from the API or MCP:
{"op":"add","type":"shatter_glass","name":"my_shatter_glass","params":{},"inputs":["src"]}Any parameter can also be an expression such as "=sin(F*0.1)". See Parameters & expressions.