Multiply the coordinates by a count and floor() them and every pixel knows which cell it is in. Add the two cell indices and take mod 2: zero or one, dark or gold. It is the pattern behind every grid, tile and pixel-art effect in the library.

New to shaders? Read Rive Shaders Explained →

Live
rive-shader-library.revIn the Scripting Course

Checker on its own artboard in the library file, with the ShaderQuad node and the WGSL, Inputs for Size, Speed. Copy the artboard into any Rive file.

More in Start here

See all →
Gradient
Stripes
Circle
Free Rive file

Noise, as a Rive file, on us

The Noise shader with the GPU Canvas node wired and the WGSL inside. Drop it into any Rive file and see how a shader lives there.

The other 27, in the course

Every shader here, as a ready-to-drop Rive file

Play with all of them here. The library file, every shader on its own artboard, comes with the Scripting Course, next to the lessons and the Space Game it belongs to.