gridSdf
Keywords:
- bars
- grid
sdf
gridSdf
RayTK
v0.42
An infinite grid shape, along two axes.
Parameters
Name | Description | Regular Handling | Read-Only Handling |
---|---|---|---|
Coord Type | allows the shape to be used in a 2D context. | ||
| |||
Cross Section Shape | choose the shape of the bars of the grid. Not available in 2D mode. | Baked | Baked |
| |||
Axis | choose which axis the grid should face. | Runtime | Baked |
| |||
Spacing | spacing between the bars of the grid. If this value is very small and the | Runtime | Baked |
Axis Offset | shifts the grid forwards or backwards along the | Runtime | Baked |
Offset | shifts the grid along its plane. | Runtime | Baked |
Thickness | the thickness of the bars. | Runtime | Baked |
Contexttype | advanced parameter that should usually just be set to | ||
| |||
Pattern | Baked | Baked | |
|
Inputs
-
Spacing Field
: (optional)- Coordinate Types:
vec2
vec3
- Context Types:
Context
MaterialContext
CameraContext
LightContext
RayContext
ParticleContext
VertexContext
PixelContext
- Return Types:
float
vec4
- Coordinate Types:
-
Thickness Field
: (optional)- Coordinate Types:
vec2
vec3
- Context Types:
Context
MaterialContext
CameraContext
LightContext
RayContext
ParticleContext
VertexContext
PixelContext
- Return Types:
float
- Coordinate Types: