Implement Lambertian diffuse lighting (kind of)
authorLukas Jiriste <ljiriste@student.42prague.com>
Tue, 26 Nov 2024 18:55:06 +0000 (19:55 +0100)
committerLukas Jiriste <ljiriste@student.42prague.com>
Tue, 26 Nov 2024 18:55:06 +0000 (19:55 +0100)
commita8bc305a20981167763e6d13aa5afde896aebd81
tree6c5dbe1e5769c768d0d4e5eeacbdd2793beb555f
parent88d4c81dcd323fcdb361189f9b07b1586226310d
Implement Lambertian diffuse lighting (kind of)

This implementation has its problems. The one I can think of now is that
planes are only reflecting, when their normal points in the direction of
the light.
src/scene.c