truncatedPyramidSdf
sdf
truncatedPyramidSdf
RayTK
v0.42
Parameters
Name | Description | Regular Handling | Read-Only Handling |
---|---|---|---|
Axis | Runtime | Semi-Baked | |
| |||
Translate | Moves the center of the base of the pyramid. | Runtime | Baked |
Top Size | Runtime | Baked | |
Bottom Size | Runtime | Baked | |
Height | Runtime | Baked |
Inputs
-
Height Field
: (optional)- Coordinate Types:
vec3
- Context Types:
Context
MaterialContext
CameraContext
LightContext
RayContext
ParticleContext
VertexContext
PixelContext
- Return Types:
float
- Coordinate Types:
-
Top Size Field
: (optional)- Coordinate Types:
vec3
- Context Types:
Context
MaterialContext
CameraContext
LightContext
RayContext
ParticleContext
VertexContext
PixelContext
- Return Types:
float
vec4
- Supports Variables:
normoffset
- Coordinate Types:
-
Bottom Size Field
: (optional)- Coordinate Types:
vec3
- Context Types:
Context
MaterialContext
CameraContext
LightContext
RayContext
ParticleContext
VertexContext
PixelContext
- Return Types:
float
vec4
- Supports Variables:
normoffset
- Coordinate Types:
Variables
-
Normalized Axis Offset
: