Feature #1648: Complete vanilla DOOM emulation
Vanilla depth shading
We should replicate the original games' depth shading as closely as possible.
In practice, the depth shading gradient could be stored in a texture that is multiplied into the other lighting. (A per-pixel shader to calculate it programmatically might be a waste of GPU time; however it shouldn't require a very complex function.)