Turns out that I was a bit sloppy with my Snell's law implementation. Here are some new images that look a bit more correct:

Index of refraction: 1.33, camera farther

Index of refraction: 1.33, camera closer

Index of refraction: 2.69, camera farther

Index of refraction: 2.69, camera closer

That blue square is a messed up specular reflection. Looks like I might be a bit sloppy with my Blinn-Phong model, too.

Subscribe to:
Post Comments (Atom)

I found some sloppy math, fixed it and the blown out specular highlight has been fixed.

ReplyDeleteI'll double check during the morning train ride.