In an effort to start putting concepts together, I’ve combined some parts from two of my initial efforts (the interactive sphere and Perlin noise) into a single demonstration. I’ve also been interested in understanding how Fresnel reflection and refraction work, and so today I spent my afternoon assembling a fun shader to do all of this. The subtle challenges inherent in this shader:
- Getting the Perlin noise to scroll infinitely to the right
- Using a Fresnel reflection and a Fresnel refraction
- Doing it all by ray tracing a sphere
