Skip to content

Commit

Permalink
fix shadow acne
Browse files Browse the repository at this point in the history
  • Loading branch information
yagoliz committed Sep 11, 2024
1 parent 794d3d1 commit 9c06410
Show file tree
Hide file tree
Showing 12 changed files with 1,564,294 additions and 754,062 deletions.
74 changes: 74 additions & 0 deletions examples/glass.rs
8 changes: 8 additions & 0 deletions examples/sphere_uniform.rs
Binary file modified generated/finalhighres.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1,508,076 changes: 754,038 additions & 754,038 deletions generated/finalhighres.ppm
810,004 changes: 810,004 additions & 0 deletions generated/glass.ppm
4 changes: 3 additions & 1 deletion src/camera.rs
3 changes: 1 addition & 2 deletions src/hittable_list.rs
6 changes: 3 additions & 3 deletions src/material.rs
11 changes: 10 additions & 1 deletion src/ray.rs
40 changes: 29 additions & 11 deletions src/sphere.rs
48 changes: 42 additions & 6 deletions src/vec3.rs
82 changes: 82 additions & 0 deletions tests/sphere_hit.rs

0 comments on commit 9c06410

Please sign in to comment.