ShapeMaterial

Read with AI
All docs in one file (llms-full.txt)
ShapeMaterial #3D #Node
ShapeMaterial

Feeds a material using the SynapseRack/SRShape2D shader to the Material output. The shape is drawn with a distance function in UV space and antialiased with fwidth, so the edges stay sharp even when a Quad is stretched large. Unlike GlowMaterial it is not a billboard, so the shape itself rotates with the point cloud’s Rotation. It uses alpha blending (SrcAlpha / OneMinusSrcAlpha) with ZWrite Off in the Transparent queue, so Render draws it after the opaque pass. The point cloud color is multiplied into Color.

  • Shape dropdown: Circle (default) / Box / Cross
  • Color (default white)
  • Stroke — clamped to 0-0.5 (default 0). 0 fills the shape; above 0 it becomes an outline only
  • Softness — clamped to 0-0.5 (default 0). Blur amount added on top of the antialiasing width

Input ports

Port IDType
ColorColor
Strokefloat
Softnessfloat

Output ports

Port IDType
MaterialMaterialOutput

Scriptable members

PathType
strokeInputfloat
softInputfloat

Synapse Apps (scripting)

await synapse.modules.create({ type: "ShapeMaterial" })

Pages linking here

Also referenced from