29 , m_alpha(alpha > 0.001_r ? alpha : 0.001_r)
34 return {m_alpha, m_alpha};
Definition IsoTrowbridgeReitzConstant.h:9
std::array< real, 2 > getAlphas(const SurfaceHit &X) const override
Definition IsoTrowbridgeReitzConstant.h:32
IsoTrowbridgeReitzConstant(real alpha, EMaskingShadowing maskingShadowingType)
Definition IsoTrowbridgeReitzConstant.h:23
Isotropic Trowbridge-Reitz distribution (GGX).
Definition IsoTrowbridgeReitz.h:11
General information about a ray-surface intersection event.
Definition SurfaceHit.h:59
The root for all renderer implementations.
Definition EEngineProject.h:6
EMaskingShadowing
Different types of masking and shadowing terms for microfacet distributions. Eric Heitz has published...
Definition enums.h:11