Photon Engine 2.0.0-beta
A physically based renderer.
Loading...
Searching...
No Matches
SchlickApproxDielectricFresnel.h
Go to the documentation of this file.
1#pragma once
2
4
5namespace ph
6{
7
15{
16public:
17 SchlickApproxDielectricFresnel(real iorOuter, real iorInner);
18
19 math::Spectrum calcReflectance(real cosThetaIncident) const override;
20
21private:
22 real m_f0;
23 real m_tirIorRatio2;
24};
25
26}// end namespace ph
Dielectric-dielectric interface Fresnel effect.
Definition DielectricFresnel.h:16
Dielectric-dielectric interface Fresnel effect.
Definition SchlickApproxDielectricFresnel.h:15
math::Spectrum calcReflectance(real cosThetaIncident) const override
Definition SchlickApproxDielectricFresnel.cpp:27
SchlickApproxDielectricFresnel(real iorOuter, real iorInner)
Definition SchlickApproxDielectricFresnel.cpp:10
Definition TTristimulusSpectrum.h:11
The root for all renderer implementations.
Definition EEngineProject.h:6