Form3D
Wraps child content onto a 3D raymarched shape with lighting.
Props
Prop
Details
shape3dstringDefault:
{"type":"ribbon","angle":0,"twist":50,"width":40,"thickness":20,"seed":0}3D shape and its parameters
shape3dstringDefault: {"type":"ribbon","angle":0,"twist":50,"width":40,"thickness":20,"seed":0}3D shape and its parameters
center{x: number, y: number}Default:
{"x":0.5,"y":0.5}Center position of the shape on screen
center{x: number, y: number}Default: {"x":0.5,"y":0.5}Center position of the shape on screen
zoomnumberDefault:
50Camera zoom level
zoomnumberDefault: 50Camera zoom level
glossinessnumberDefault:
50Specular highlight intensity and sharpness
glossinessnumberDefault: 50Specular highlight intensity and sharpness
lightingnumberDefault:
50Overall intensity of lighting effects
lightingnumberDefault: 50Overall intensity of lighting effects
uvMode"stretch" | "mirror" | "wrap"Default:
stretchHow to handle UV coordinates at shape boundaries
uvMode"stretch" | "mirror" | "wrap"Default: stretchHow to handle UV coordinates at shape boundaries
speednumberDefault:
1Animation speed — scales all spin rates
speednumberDefault: 1Animation speed — scales all spin rates
Usage
<Shader>
<Form3D>
<Circle />
</Form3D>
</Shader>