moduloSpherical

moduloSpherical

Repeats space in a spherical mesh layout with rows and columns.

Parameters

Name Description Regular Handling Read-Only Handling
Enable
Repetitions

How many rows and columns to have.

Runtime Baked
Shift

Shifts the repetitions across the rows and columns.

Runtime Baked
Offset

Shifts the contents of each repetition, away from the sphere center or side to side along the columns.

Runtime Baked
Pivot

Center point of the sphere

Runtime Baked
Mirror Type

Flips alternating repetitions so they mirror each other.

Semi-Baked Semi-Baked
  • None:
  • Rows:
  • Columns:
  • Grid:

Inputs

  • definition_in: (required)
    • Coordinate Types: vec3
    • Context Types: Context MaterialContext CameraContext LightContext RayContext ParticleContext VertexContext PixelContext
    • Return Types: float vec4 Sdf Volume Ray Light Particle
    • Supports Variables: cell normcell
    • Supports Variables From Inputs: repetitionsField offsetField shiftField
  • Repetitions Field: (optional)
    • Coordinate Types: vec3
    • Context Types: Context MaterialContext CameraContext LightContext RayContext ParticleContext VertexContext PixelContext
    • Return Types: float vec4
    • Supports Variables From Inputs: shiftField
  • Offset Field: (optional)
    • Coordinate Types: vec3
    • Context Types: Context MaterialContext CameraContext LightContext RayContext ParticleContext VertexContext PixelContext
    • Return Types: vec4
    • Supports Variables: cell normcell
    • Supports Variables From Inputs: shiftField repetitionsField
  • Shift Field: (optional)
    • Coordinate Types: vec3
    • Context Types: Context MaterialContext CameraContext LightContext RayContext ParticleContext VertexContext PixelContext
    • Return Types: float vec4

Variables

  • Cell (Row, Col):
  • Normalized Cell (Row, Col) (0..1):