An unfinished raytracer/pathtracer/bidirectional pathtracer
The refractions are now implemented using the Fresnel equations to take into account the amount of light that is reflected off of transparent surfaces. For example, this leads to a small amount of discoloring at the edges of the ball in the example scene. Indeed, this ball has a refractive index higher than diamond (!), so its edges reflect light much more than when looking at it dead-center. |
||
|---|---|---|
| examples | ||
| src | ||
| .gitignore | ||
| .gitlab-ci.yml | ||
| .rustfmt.toml | ||
| Cargo.toml | ||