README.md aktualisiert

This commit is contained in:
Turingon 2024-02-29 14:23:45 +00:00
parent 8b06725106
commit 5c2ad78ce2

View file

@ -89,4 +89,8 @@ A problem that occurs on this image is the **shadow acne** problem: A ray will a
To make the shadows look more realistic, I had to implement the Lambertian reflections: basically, most of the reflected rays will be close to the sphere normal and the probability density is dependent on cos(phi), where phi is the angle from the normal. It was very easy to implement and yields the following:
<img src="https://raytracing.github.io/images/img-1.10-correct-lambertian.png" width="480"/>
<img src="https://raytracing.github.io/images/img-1.10-correct-lambertian.png" width="480"/>
The last issue left in the chapter is the darkness of the image and it's due to some strange linear-gamma space conversion? I don't quite understand how that works, but by taking the square root of the colour values we get the right brightness. Nice
<img src="https://media.discordapp.net/attachments/874752364698013736/1212767017711697950/image.png?ex=65f3084d&is=65e0934d&hm=b8eabd56619cff0984e361c4917b9f63b7d7e3a76e28dbc666c7d91f9f6331de&=&format=webp&quality=lossless&width=720&height=405" width="480"/>