Report question

Question: How does the fragment shader know what variable to use for the color of a pixel?