implemented basic occlusion culling