The clip_geo shader makes a shape a 'clipping shape'. A clipping shape clips geometry from any shape that intersects with it. For example, a sphere with the clip_geo shader clips geometry from the cubes that intersect with the sphere: Users can limit the objects that are affected with trace sets, and optionally choose a specific shader for the intersection surfaces if needed. The intersection surface can be removed by disabling primary_visibility (and cast_shadows) for the intersecting object (sphere).
Intersection
The color or shader applied to the result of the clipping. Red shader -> intersection
Trace Set
It is possible to tag objects to be part of one or many trace sets. You can use trace sets to control which objects are clipped. The muscles use the same trace set name as the clip_geo shader. The skull & veins objects are omitted because they do not have a trace set name. If you want only certain objects to be clipped:
Trace Set name (objects_to_clip) given to Clip Geo shader (left) and clipping object (right)
If you want to avoid clipping some objects:
Inclusive
If on, the tracing works in inclusive mode, else in exclusive, as described above.
trace_set assigned to plane