Certain types of fabric are better than others when you need to shade your skin from the sun's ultraviolet rays. In most cases, polyester and nylon will provide you with an adequate level of protection from the sun's rays.