GPU School

Lesson 2

Color, blending and time

Each corner carries a color, and the GPU blends it across the triangle. A uniform called u_time makes it move.

Try