discSdf
sdf
discSdf
RayTK
v0.42
A flat disc facing the Y axis.
Because the disc is infinitely thin, it will only appear as a line when viewed from the side.
Parameters
| Name | Description | Regular Handling | Read-Only Handling |
|---|---|---|---|
Translate | Shifts the center of the disc. | Runtime | Baked |
Radius | The radius of the disc. | Runtime | Baked |
Axis | Runtime | Semi-Baked | |
| |||
Thickness | Runtime | Baked | |
Inputs
-
Radius Field: (optional)- Coordinate Types:
vec3 - Context Types:
ContextMaterialContextCameraContextLightContextRayContextParticleContextVertexContextPixelContext - Return Types:
float - Supports Variables:
anglenormangle
- Coordinate Types:
-
Thickness Field: (optional)- Coordinate Types:
vec3 - Context Types:
ContextMaterialContextCameraContextLightContextRayContextParticleContextVertexContextPixelContext - Return Types:
float - Supports Variables:
anglenormanglenormaxisdist - Supports Variables From Inputs:
radiusField
- Coordinate Types:
Variables
-
Angle Around Axis (Deg): -
Normalized Angle (0..1): -
Normalized Distance From Axis (0..1):