Photon Engine 2.0.0-beta
A physically based renderer.
|
Conductor-dielectric interface Fresnel effect. More...
#include <SchlickApproxConductorFresnel.h>
Public Member Functions | |
SchlickApproxConductorFresnel (real iorOuter, const math::Spectrum &iorInnerN, const math::Spectrum &iorInnerK) | |
SchlickApproxConductorFresnel (const math::Spectrum &f0) | |
math::Spectrum | calcReflectance (real cosThetaIncident) const override |
Public Member Functions inherited from ph::ConductorFresnel | |
ConductorFresnel ()=default | |
Public Member Functions inherited from ph::FresnelEffect | |
virtual | ~FresnelEffect ()=default |
math::Spectrum | calcTransmittance (real cosThetaIncident) const |
Conductor-dielectric interface Fresnel effect.
The formulae used are approximations made by Schlick [14].
ph::SchlickApproxConductorFresnel::SchlickApproxConductorFresnel | ( | real | iorOuter, |
const math::Spectrum & | iorInnerN, | ||
const math::Spectrum & | iorInnerK ) |
|
explicit |
|
overridevirtual |
cosThetaIncident | Cosine of the incident angle. |
cosThetaIncident
is signed, so inner and outer sides can be determined. Implements ph::ConductorFresnel.