Photon Engine 2.0.0-beta
A physically based renderer.
Loading...
Searching...
No Matches
ph::ConductorFresnel Class Referenceabstract

Conductor-dielectric interface Fresnel effect. More...

#include <ConductorFresnel.h>

Inheritance diagram for ph::ConductorFresnel:
ph::FresnelEffect ph::ExactConductorFresnel ph::SchlickApproxConductorFresnel

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
 

Detailed Description

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.

Constructor & Destructor Documentation

◆ ConductorFresnel()

ph::ConductorFresnel::ConductorFresnel ( )
default

Member Function Documentation

◆ calcReflectance()

math::Spectrum ph::ConductorFresnel::calcReflectance ( real cosThetaIncident) const
overridepure virtual
Parameters
cosThetaIncidentCosine of the incident angle.
Returns
The reflectance of the interface on the specified angle.
Note
cosThetaIncident is signed, so inner and outer sides can be determined.

Implements ph::FresnelEffect.

Implemented in ph::ExactConductorFresnel, and ph::SchlickApproxConductorFresnel.


The documentation for this class was generated from the following file: