This commit is contained in:
Turingon 2024-03-03 19:09:26 +00:00
parent 6287a73f11
commit 5c2041f3fc

View file

@ -103,4 +103,10 @@ In this chapter I made a special struct that saves the properties of the materia
Most metals however aren't purely reflective, they fuzz the reflection a little bit - so they are actually something inbetween a lambertian object and a mirror. Accounting for this gives the following neat image:
<img src="" width="480"/>
<img src="" width="480"/>
### Chapter 9: Glass
In this chapter glass and other dielectric materials have been implemented using Snell's law which describes refraction. The first attempt yields the following rendering:
<img src="'slaw" width="480"/>