The Triangle Wave texture can create a pattern with sharp triangular wave shapes. You can adjust the patterns' position, scale, and rotation in the UVW Transform parameter. The Offset parameter can shift the surface pattern's position. (figure 1).
Figure 1: The Triangle Wave texture applied to a Diffuse materialUsed for dull, non-reflecting materials or mesh emitters. on a plane primitive