This website requires JavaScript.
Explore
Help
Sign In
ambroisie
/
pathtracer
Watch
1
Star
0
Fork
You've already forked pathtracer
0
Code
Issues
Pull requests
Projects
Releases
Wiki
Activity
614217d33e
pathtracer
/
src
/
serialize
/
coefficient.rs
4 lines
44 B
Rust
Raw
Normal View
History
Unescape
Escape
library: implement refraction This necessitated to rework how light properties for a material were given. A material can have either reflectivity or transparency. This changes the parsing of materials, using a `LightProperty` structure at its core. This is does not implement the true Fresnel equations to take into account the amount of reflection that an incident goes through when encountering a transparent object.
2020-03-19 16:42:54 +01:00
pub
fn
default_identity
(
)
->
f32
{
1.
}
Reference in a new issue
Copy permalink