Added tetra filter that ensures 2D / 3D compatibility