truncatedPyramidSdf

truncatedPyramidSdf

sdf
truncatedPyramidSdf
RayTK
v0.36

Parameters

  • Axis:
    • X:
    • Y:
    • Z:
  • Translate: Moves the center of the base of the pyramid.
  • Top Size:
  • Bottom Size:
  • Height:

Inputs

  • Height Field: (optional)
    • Coordinate Types: vec3
    • Context Types: Context MaterialContext CameraContext LightContext RayContext ParticleContext
    • Return Types: float
  • Top Size Field: (optional)
    • Coordinate Types: vec3
    • Context Types: Context MaterialContext CameraContext LightContext RayContext ParticleContext
    • Return Types: float vec4
  • Bottom Size Field: (optional)
    • Coordinate Types: vec3
    • Context Types: Context MaterialContext CameraContext LightContext RayContext ParticleContext
    • Return Types: float vec4

Variables

  • normoffset: