Today we’ll build a procedural shader that produces a polka dot pattern. While this is quite informative, as we learn how to tile the uv space, the interesting part is creating the normal map. We want to use the implicit sphere equation to derive z coordinates for the uv vectors to create sphericals normals. Transforming these to tangent space gives a beautiful and correct spherical normal map.