brickPattern

brickPattern

Pattern of stacked rectangular bricks.

This pattern produces just float values not colors. To apply color to it, pass it into a colorRampField.

The bricks themselves produce values of 0 (or black) and the spaces between them produce values of 1 (or white).

Parameters

Name Description Regular Handling Read-Only Handling
Shift

Offsets every other row of bricks. A value of 0 means a regular grid, and 0.5 is a standard staggered brick layout.

Runtime Baked
Translate

Moves the entire pattern.

Runtime Baked
Size

Scales the pattern.

Runtime Baked
Thickness

Thickness of the spacing between the bricks.

Runtime Baked
Blending

Amount of blending between bricks and spacing.

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 spacing between bricks.
    • 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 bricks and spacing.
    • Coordinate Types: vec2 vec3
    • Context Types: Context MaterialContext CameraContext LightContext RayContext ParticleContext VertexContext PixelContext
    • Return Types: float
    • Supports Variables From Inputs: coordField thicknessField
  • Shift Field: (optional) Field that controls how much alternating rows are shifted.
    • Coordinate Types: vec2 vec3
    • Context Types: Context MaterialContext CameraContext LightContext RayContext ParticleContext VertexContext PixelContext
    • Return Types: float
    • Supports Variables From Inputs: coordField thicknessField shiftField