Refraction is fully there, with magic fresnel!

This commit is contained in:
Godzil
2020-02-22 01:27:48 +00:00
parent e45dbad59e
commit 51a6bbebb9
9 changed files with 126 additions and 3 deletions

View File

@@ -145,7 +145,7 @@ int main()
w.addLight(&light);
/* Set the camera */
Camera camera = Camera(800, 400, 1.152);
Camera camera = Camera(400, 100, 1.152);
camera.setTransform(viewTransform(Point(-2.6, 1.5, -3.9),
Point(-0.6, 1, -0.8),
Vector(0, 1, 0)));