Get rid of redundant GL calls for fog. Enable and disable fog during rendering stage of voxels. Moved the local light parameters to shader uniform arrays.
Merged from master. Get rid of redundant GL fog states. Moved local light parameters to shader uniform arrays.