Three-dimensional polarization algebra