To start, I rendered a sphere with an index of refraction of 1.00, no Fresnel term, no reflections:
![](http://cs.unm.edu/~jbowles/cs413/a6/tests/glass_sphere_no_reflections_1.00.png)
Here's another sphere, no reflections, index of refraction 1.33:
![](http://cs.unm.edu/~jbowles/cs413/a6/tests/glass_sphere_no_reflections_1.33.png)
Now with a Fresnel term, index of refraction 1.00:
![](http://cs.unm.edu/~jbowles/cs413/a6/tests/glass_sphere_reflections_fresnel_1.00.png)
Also with a Fresnel term, index of refraction 1.33:
![](http://cs.unm.edu/~jbowles/cs413/a6/tests/glass_sphere_reflections_fresnel_1.33.png)
Those last two images don't look quite right. The reflections are way too strong and are pretty blown out.
I believe that I'm using the equations at http://en.wikipedia.org/wiki/Fresnel_equations to add the Fresnel term.
I suspect the reflection term is greater than 1. Will clamping it help? A quick render seems to indicate that it might.
ReplyDelete