Dissecting a Wavy Shader: Sine, Refraction, and Serendipity