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
- Set all three corners to the same color. Where did the blend go?
- Turn on Pulse. Which shader moves the shape, and how often does it run?
- Turn on Stripes. Why can't the vertex shader draw stripes like these?