moduloSpherical
filter
moduloSpherical
RayTK
v0.42
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 |
| |||
Inputs
-
definition_in: (required)- Coordinate Types:
vec3 - Context Types:
ContextMaterialContextCameraContextLightContextRayContextParticleContextVertexContextPixelContext - Return Types:
floatvec4SdfVolumeRayLightParticle - Supports Variables:
cellnormcell - Supports Variables From Inputs:
repetitionsFieldoffsetFieldshiftField
- Coordinate Types:
-
Repetitions Field: (optional)- Coordinate Types:
vec3 - Context Types:
ContextMaterialContextCameraContextLightContextRayContextParticleContextVertexContextPixelContext - Return Types:
floatvec4 - Supports Variables From Inputs:
shiftField
- Coordinate Types:
-
Offset Field: (optional)- Coordinate Types:
vec3 - Context Types:
ContextMaterialContextCameraContextLightContextRayContextParticleContextVertexContextPixelContext - Return Types:
vec4 - Supports Variables:
cellnormcell - Supports Variables From Inputs:
shiftFieldrepetitionsField
- Coordinate Types:
-
Shift Field: (optional)- Coordinate Types:
vec3 - Context Types:
ContextMaterialContextCameraContextLightContextRayContextParticleContextVertexContextPixelContext - Return Types:
floatvec4
- Coordinate Types:
Variables
-
Cell (Row, Col): -
Normalized Cell (Row, Col) (0..1):