Your First Shader
Task
1. Click the Run button. Your program starts and updates the picture on the screen (called Output).
2. Look at the Output. Compare it to the Expected image. If they look the same, that means your code is probably correct!
3. Click the Submit button. Send your answer for checking. If everything is right, you'll see a message saying the task was successfully accepted!
Theory
A fragment shader is like a tiny artist that paints each dot (called a pixel) on your screen. It decides what color every pixel should be, so your game or picture looks just right.
Imagine your screen is a big coloring book, and the fragment shader is the one choosing the colors for every little spot.