triangleCheckerPattern

triangleCheckerPattern

pattern
triangleCheckerPattern
RayTK
v0.42

Triangular grid checkerboard pattern.

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