Accurately Texturing Tiles

Right, what about the grout and the wave effect?