Made the single-color effect handle 3D points instead of assuming 2D