CG Shaders – Cubemap Refraction

I decided to give cubemap refraction a shot as well after finishing up reflection and I ran into some unexpected challenges. The standard implementation form Nvidia and everywhere else on the internet seemed to yield a refraction that looked quite out of place. In order to fix it, I had to invert the x component of […]