gridClone
filter
gridClone
RayTK
v0.42
Repeats an SDF in a grid arrangement, combining the results.
It’s important to remember that this operator performs the work of its input once for each clone. That means that a 3x3 grid does 27 times the work of the input.
The modulo3D (or modulo1D/modulo2D) can be a cheaper alternative to gridClone with some limitations.
Parameters
| Name | Description | Regular Handling | Read-Only Handling |
|---|---|---|---|
Enable | |||
Count | The number of copies. The performance cost of the input is multiplied by this number. | Runtime | Semi-Baked |
Center | Center position of the grid. | Runtime | Baked |
Size | Size of the grid on each axis. | Runtime | Baked |
Merge Type | How to merge the copies. | Semi-Baked | Semi-Baked |
| |||
Merge Radius | The amount of smoothing to apply when merging copies. | ||
Merge Number | |||
Merge Offset | |||
Inputs
-
definition_in: (required)- Coordinate Types:
vec2vec3 - Context Types:
ContextMaterialContextCameraContextLightContextRayContextParticleContextVertexContextPixelContext - Return Types:
Sdf - Supports Variables:
coordnormcoord
- Coordinate Types:
-
Blend Radius Field: (required)- Coordinate Types:
vec2vec3 - Context Types:
ContextMaterialContextCameraContextLightContextRayContextParticleContextVertexContextPixelContext - Return Types:
float - Supports Variables:
coordnormcoord
- Coordinate Types:
Variables
-
Instance Coord: -
Normalized Coord (0..1):