pyramidSdf

pyramidSdf

sdf
pyramidSdf
RayTK
v0.42

A pyramid with four sides.

Parameters

Name Description Regular Handling Read-Only Handling
Translate

Moves the center of the base of the pyramid.

Runtime Baked
Height

The height of the pyramid.

Runtime Baked
Width

The width of the base of the pyramid. Note that widths smaller than 0.5 will produce rendering errors.

Runtime Baked
Axis Runtime Semi-Baked
  • 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 VertexContext PixelContext
    • Return Types: float
  • 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 VertexContext PixelContext
    • Return Types: float
    • Supports Variables From Inputs: heightField