![moduloToroidal](/raytk/assets/images/reference/operators/filter/moduloToroidal_thumb.png)
moduloToroidal
beta
Keywords:
- torus
filter
moduloToroidal
RayTK
v0.41
Repeats space as rows and columns of a torus-shaped grid.
Parameters
Name | Description | Regular Handling | Read-Only Handling |
---|---|---|---|
Enable | |||
Axis | Axis that the torus is around. | Semi-Baked | Semi-Baked |
| |||
Radius | Primary radius of the torus around the main axis. | Runtime | Baked |
Thickness | Thickness of the torus. | Runtime | Baked |
Repetitions | Number of rows and columns across the torus. | Runtime | Baked |
Shift | Shifts the repetitions across the rows and columns of the torus. | 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:
Context
MaterialContext
CameraContext
LightContext
RayContext
ParticleContext
VertexContext
PixelContext
- Return Types:
float
vec4
Sdf
Ray
Light
Particle
- Supports Variables:
cell
normcell
angle
normangle
innerangle
norminnerangle
- Supports Variables From Inputs:
repetitionsField
radiusField
thicknessField
shiftField
- Coordinate Types:
-
Repetitions Field
: (optional)- Coordinate Types:
vec3
- Context Types:
Context
MaterialContext
CameraContext
LightContext
RayContext
ParticleContext
VertexContext
PixelContext
- Return Types:
float
vec4
- Supports Variables:
angle
normangle
- Coordinate Types:
-
Radius Field
: (optional)- Coordinate Types:
vec3
- Context Types:
Context
MaterialContext
CameraContext
LightContext
RayContext
ParticleContext
VertexContext
PixelContext
- Return Types:
float
- Supports Variables:
angle
normangle
cell
normcell
- Supports Variables From Inputs:
repetitionsField
- Coordinate Types:
-
Thickness Field
: (optional)- Coordinate Types:
vec3
- Context Types:
Context
MaterialContext
CameraContext
LightContext
RayContext
ParticleContext
VertexContext
PixelContext
- Return Types:
float
- Supports Variables:
angle
normangle
cell
normcell
- Supports Variables From Inputs:
repetitionsField
radiusField
- Coordinate Types:
-
Shift Field
: (optional)- Coordinate Types:
vec3
- Context Types:
Context
MaterialContext
CameraContext
LightContext
RayContext
ParticleContext
VertexContext
PixelContext
- Return Types:
float
vec4
- Supports Variables:
angle
normangle
cell
normcell
- Supports Variables From Inputs:
repetitionsField
radiusField
thicknessField
- Coordinate Types:
Variables
-
cell
: -
normcell
: -
angle
: -
normangle
: -
innerangle
: -
norminnerangle
: