Optimized grid occlusion.