Opengl, Computer Graphics, Shaders, Texture, Shading.
from vertex processor. For example, When you want to render your scene using Gouraud shading, you should interpolate color factor for each fragment in vertex shader. Then, in fragment shader, we just assign the computed color into each fragment. How do the shaders communicate? uniform parameters :