Quote:
Originally Posted by rpg.314
Nah, refraction isn't a pure wave effect. Interference and diffraction are.
|
What about refraction through a prism for example?
The 'rainbow' effect is a result of different wavelengths having different refraction angles, right?
But I agree that most raytracers don't bother to model light this way. They tend to model refraction the same way as reflection, which isn't correct.
This is generally a case where you use a photonmapping approach again. You can emit photons with various wavelenghts, and use the wavelength in calculation of the refraction angle.