archSdf
sdf
archSdf
RayTK
v0.42
Arch / doorway.
This SDF combines a few parts, which can be toggled on/off.
The panel is the flat inner surface that fills the center of the arch. The frame is the outer border of the arch.
Parameters
Name | Description | Regular Handling | Read-Only Handling |
---|---|---|---|
Height | Runtime | Baked | |
Width | Runtime | Baked | |
Rounding | Size of the curves on the top corners. Smaller values produce more of a rectangle and larger values produce a curved peak. | Runtime | Baked |
Enable Panel | Whether to show the flat shape filling the center of the arch. | Semi-Baked | Semi-Baked |
Panel Depth | Thickness of the center part. | Runtime | Baked |
Enable Frame | Whether to show the outer part of the arch. | Semi-Baked | Semi-Baked |
Frame Thickness | Thickness of the frame (width/height). | Runtime | Baked |
Frame Depth | Depth of the frame. | Runtime | Baked |
Hide Frame Bottom | Whether to include a bottom section to the frame or leave it empty. | Semi-Baked | Semi-Baked |
Inputs
-
Height Field
: (optional)- Coordinate Types:
vec3
- Context Types:
Context
MaterialContext
CameraContext
LightContext
RayContext
ParticleContext
VertexContext
PixelContext
- Return Types:
float
- Coordinate Types:
-
Width Field
: (optional)- Coordinate Types:
vec3
- Context Types:
Context
MaterialContext
CameraContext
LightContext
RayContext
ParticleContext
VertexContext
PixelContext
- Return Types:
float
- Supports Variables From Inputs:
heightField
- Coordinate Types:
-
Rounding Field
: (optional)- Coordinate Types:
vec3
- Context Types:
Context
MaterialContext
CameraContext
LightContext
RayContext
ParticleContext
VertexContext
PixelContext
- Return Types:
float
- Supports Variables From Inputs:
heightField
widthField
- Coordinate Types:
-
Frame Thickness Field
: (optional)- Coordinate Types:
vec3
- Context Types:
Context
MaterialContext
CameraContext
LightContext
RayContext
ParticleContext
VertexContext
PixelContext
- Return Types:
float
- Supports Variables From Inputs:
heightField
widthField
roundingField
- Coordinate Types:
-
Frame Depth Field
: (optional)- Coordinate Types:
vec3
- Context Types:
Context
MaterialContext
CameraContext
LightContext
RayContext
ParticleContext
VertexContext
PixelContext
- Return Types:
float
- Supports Variables From Inputs:
heightField
widthField
roundingField
frameThicknessField
- Coordinate Types:
-
Panel Depth Field
: (optional)- Coordinate Types:
vec3
- Context Types:
Context
MaterialContext
CameraContext
LightContext
RayContext
ParticleContext
VertexContext
PixelContext
- Return Types:
float
- Supports Variables From Inputs:
heightField
widthField
roundingField
frameThicknessField
frameDepthField
- Coordinate Types: