← All operators

Shape

Visual · gpu_visual

A crisp SDF shape (circle/polygon) drawn over its input. Geometry, not a field.

generatorshapegeometryshader
Shape preview

Parameters

NameTypeRangeDefaultDescription
sidesfloat0 - 10.75Circle below ~0.15, else a polygon of 3..12 sides
xfloat0 - 10.5
yfloat0 - 10.5
sizefloat0 - 10.35
rotationfloat0 - 10rotation
softnessfloat0 - 10.04Edge feather
rfloat0 - 11
gfloat0 - 10.2
bfloat0 - 10.6
afloat0 - 11Opacity over the input

Ports

PortDirectionDescription
inputin
textureout

Backed by a bundled shader file: shape.wgsl