Separated bloom and occlusion code