Add a parameter to rotate the texture for Dots and Squares Differential Revision: https://developer.blender.org/D9369