Photon Engine 2.0.0-beta
A physically based renderer.
|
Conductor-dielectric interface Fresnel effect. More...
#include <ConductorFresnel.h>
Public Member Functions | |
ConductorFresnel ()=default | |
math::Spectrum | calcReflectance (real cosThetaIncident) const override=0 |
Public Member Functions inherited from ph::FresnelEffect | |
virtual | ~FresnelEffect ()=default |
math::Spectrum | calcTransmittance (real cosThetaIncident) const |
Conductor-dielectric interface Fresnel effect.
Fresnel effect where the inner side is conductor and the outer side is dielectric. We do not explicitly state conductor-dielectric in the type name since light energy does not penetrate conductors significantly, so the situation where a dedicated type for conductor-conductor interface that conflicts with the current name is highly unlikely.
|
default |
|
overridepure virtual |
cosThetaIncident | Cosine of the incident angle. |
cosThetaIncident
is signed, so inner and outer sides can be determined. Implements ph::FresnelEffect.
Implemented in ph::ExactConductorFresnel, and ph::SchlickApproxConductorFresnel.