hexagonalGridPattern

hexagonalGridPattern

Hexagonal grid pattern.

This operator produces different types of values from the grid depending on the selected Pattern.

Parameters

Name Description Regular Handling Read-Only Handling
Pattern

What type of values to produce from the grid.

Baked Baked
  • Hex Grid: Produces float values, with 1 for the grid cells, and 0 for the edges between cells.
  • Hex Distance: Produces float values with the distance scaled so that edges are 0 and cell centers are 1.
  • Hex 3 Pattern: Produces float values which mark each cell with either 0, 0.5, or 1, such that no two adjacent cells are the same.
  • Hex 3 Color Pattern: Produces vectors with colors where 3 chosen colors are applied to cells, such that no two adjacent cells are the same.
Translate

Moves the entire pattern.

Runtime Baked
Size

Scales the pattern.

Runtime Baked
Thickness

Thickness of the edges between the cells.

Runtime Baked
Blending

Amount of blending between cells and edges.

Runtime Baked
Poly Color 1

Color 1 to use for cells (when applicable).

Runtime Baked
Poly Color 2

Color 2 to use for cells (when applicable).

Runtime Baked
Poly Color 3

Color 3 to use for cells (when applicable).

Runtime Baked

Inputs

  • Coordinate Field: (optional) Field that produces vectors that the pattern uses as coordinates instead of regular spatial position. Only the X and Y parts are used.
    • Coordinate Types: vec2 vec3
    • Context Types: Context MaterialContext CameraContext LightContext RayContext ParticleContext VertexContext PixelContext
    • Return Types: vec4
  • Thickness Field: (optional) Field that controls the thickness of the edges between cells.
    • Coordinate Types: vec2 vec3
    • Context Types: Context MaterialContext CameraContext LightContext RayContext ParticleContext VertexContext PixelContext
    • Return Types: float
    • Supports Variables From Inputs: coordField
  • Blending Field: (optional) Field that controls the amount of blending between cells and edges.
    • Coordinate Types: vec2 vec3
    • Context Types: Context MaterialContext CameraContext LightContext RayContext ParticleContext VertexContext PixelContext
    • Return Types: float
    • Supports Variables From Inputs: coordField thicknessField
  • Poly Color 1 Field: (optional) Field to provide cell color 1.
    • Coordinate Types: vec2 vec3
    • Context Types: Context MaterialContext CameraContext LightContext RayContext ParticleContext VertexContext PixelContext
    • Return Types: float vec4
    • Supports Variables From Inputs: coordField thicknessField blendingField
  • Poly Color 2 Field: (optional) Field to provide cell color 2.
    • Coordinate Types: vec2 vec3
    • Context Types: Context MaterialContext CameraContext LightContext RayContext ParticleContext VertexContext PixelContext
    • Return Types: float vec4
    • Supports Variables From Inputs: coordField thicknessField blendingField
  • Poly Color 3 Field: (optional) Field to provide cell color 3.
    • Coordinate Types: vec2 vec3
    • Context Types: Context MaterialContext CameraContext LightContext RayContext ParticleContext VertexContext PixelContext
    • Return Types: float vec4
    • Supports Variables From Inputs: coordField thicknessField blendingField