A rectangular prism has 6 faces, and each pair of opposite faces are the same. So there are up to 3 different faces. A triangular prism has 5 faces, and the two triangular faces are the same, so there are up to 4 different faces.