checkerPattern

checkerPattern

pattern
checkerPattern
RayTK
v0.42

Checkerboard pattern with alternating black and white rectangles.

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

Parameters

Name Description Regular Handling Read-Only Handling
Translate

Moves the entire pattern.

Runtime Baked
Size

Scales the pattern.

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