summaryrefslogtreecommitdiff
path: root/material_dielectric.h
AgeCommit message (Collapse)Author
2022-05-03Refactor: do not invert ri in constructor of material_dielectric.Keuin
Rewrite material_dielectric::scatter to stop using vec3::refract and switch to ri instead of ri_inv.
2022-04-16Add dielectric reflectiveness (using Schlick's Approximation).Keuin
2022-04-16Add dielectric material. (glass ball)Keuin