01 Fragments and data
A colour is just four numbers
Mix a colour with RGB; lower A and watch the foreground blend with the checkerboard behind it.
01
01
01
01
ExerciseTune values
Match this sky blue
Runs once per pixelDrag numbers, or edit the code
JS side
A vec3 is just three numbers, used here as RGB; the fourth number, A, only means transparency when blending is on.
Try it
- Drag all three components to 0, then all to 1
- Lower A and watch the colour blend with the checkerboard