Use of Color in Objects

As earlier chapters have addressed, the final color of a pixel is assigned in the fragment shader by setting an out ESSL variable. If all the fragments in the object have the same color, we can say the object has a constant color. Otherwise, the object is generally understood as having per-vertex color.