Just a guess, but the third draw is to actually draw the yellow glow. The first two draws are just there to make the stencil in which to draw stuff. Meaning: 1. Draw the inside-facing sphere with an inverted depth-sorting ( greater ), meaning: draw the fragments only if they ARE HIDDEN by other geometry. The effective…