
pyramidSdf
sdf
pyramidSdf
RayTK
v0.36
A pyramid with four sides.
Parameters
-
Translate
: Moves the center of the base of the pyramid. -
Height
: The height of the pyramid. -
Width
: The width of the base of the pyramid. Note that widths smaller than 0.5 will produce rendering errors. -
Axis
:-
X
: -
Y
: -
Z
:
-
Inputs
-
Height Field
: (optional) Optional field used to determine the height. When connected, the `Height` is multiplied by the value produced by the field.- Coordinate Types:
vec3
- Context Types:
Context
MaterialContext
CameraContext
LightContext
RayContext
ParticleContext
- Return Types:
float
- Coordinate Types:
-
Width Field
: (optional) Optional field used to determine the width. When connected, the `Width` is multiplied by the value produced by the field.- Coordinate Types:
vec3
- Context Types:
Context
MaterialContext
CameraContext
LightContext
RayContext
ParticleContext
- Return Types:
float
- Coordinate Types: