Vertex shaders can set “varying” attributes which will be interpolated and passed to the fragment shader. Here we pass vertex colors to create a weirdly colorful rectangle.

<< [Global Variables] [Index] [View Transform] >>