[][src]Trait tray_rust::bxdf::fresnel::Fresnel

pub trait Fresnel {
    fn fresnel(&self, cos_i: f32) -> Colorf;
}

The Fresnel trait implemented by the various Fresnel term components

Required methods

fn fresnel(&self, cos_i: f32) -> Colorf

Compute the fresnel term for light incident to the object at angle cos_i

Loading content...

Implementors

impl Fresnel for Conductor[src]

impl Fresnel for Dielectric[src]

Loading content...