DigiPen Institute of Technology
For this CS350 assignment I was required to implement reflection and refraction with a sky box. For this project we made a sphere with the reflection and refraction qualities. I implemented the reflection and refraction in their own shader. The shader would calculate the UVs for the reflection and then sample from the corresponding sky box texture. Overall this project was somewhat difficult. It took a lot of tweaking to get the reflection and refraction just right. I also implemented several different materials for the sphere and different atmospheres for the world. Both of these aspects change how the reflection and refraction behave. They can be blurry, offset, or more clear depending on the combination of material and atmosphere.