Geometry Nodes -> Simulation Input -> Extrude Mesh, set material only for extruded?

I followed a basic simulation input tutorial which randomly extruded the surface of a ball. But the ball did not have any material and setting a material to the object was ignored.

I added “set material” node between simulation output and group output, but that changed all the surface of the object. It’s not that I need to, but I wonder if I could set a material for the surface at the initial state (no extrusion, just a ball) and apply a different material only to those extruded parts?



simulation-test.blend (125.1 KB)

like this?
simulation-test_onlyextrude.blend (122.6 KB)

Close, but can the non-extruded surface have the other material? The object has two materials in its Materials tab, and one of which is assigned to the object’s surface, but it is somehow ignored and, as you see, its grey.

Yeah, I think I read somewhere, that material info disappears inside a sim zone.

image

I’d just do it like this ^^

image

image

this works too

1 Like