
modulo3D
Shortcuts:
- m3
Keywords:
- grid
- modulo
- repeat
filter
modulo3D
RayTK
v0.36
Repeats space along all 3 axes.
This has the effect of making an infinite 3D grid of copies of (slices/cells of) the input, but without the cost of having to separately calculate each one.
Parameters
-
Enable
: -
Size
: The spacing of the grid along each axis, which is also the size of the cell that is taken from the input. -
Offset
: Shifts where the input cell is taken from without moving the position of the grid. -
Shift
: Shifts the whole grid (and its contents). -
Limit Type
:-
None
: -
Both
: -
Start Only
: -
Stop Only
:
-
-
Limit Start
: -
Limit Stop
: -
Limit Offset
: -
Mirror Type
:-
None
: -
Mirror
:
-
-
Iteration Type
:-
None
: -
Cell Coordinate
: -
Alternating Cell Coordinate (0,1,0,1)
:
-
Inputs
-
definition_in
: (required)- Coordinate Types:
vec3
- Context Types:
Context
MaterialContext
CameraContext
LightContext
RayContext
ParticleContext
- Return Types:
float
vec4
Sdf
Ray
Light
Particle
- Coordinate Types:
-
Size Field
: (optional)- Coordinate Types:
vec3
- Context Types:
Context
MaterialContext
CameraContext
LightContext
RayContext
ParticleContext
- Return Types:
float
vec4
- Coordinate Types:
-
Shift Field
: (optional)- Coordinate Types:
vec3
- Context Types:
Context
MaterialContext
CameraContext
LightContext
RayContext
ParticleContext
- Return Types:
float
vec4
- Coordinate Types:
-
Offset Field
: (optional)- Coordinate Types:
vec3
- Context Types:
Context
MaterialContext
CameraContext
LightContext
RayContext
ParticleContext
- Return Types:
float
vec4
- Coordinate Types:
Variables
-
cellcoord
: -
normcoord
: -
shiftedcellcoord
: