Clarisse 5.0 SP8 SDK  5.0.5.8.0
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
Public Member Functions | List of all members
PbrFresnelDiffuse Class Reference
Inheritance diagram for PbrFresnelDiffuse:
PbrFresnel CoreScratchpadObject

Public Member Functions

void configure (const double &roughness)
 
void evaluate (const GMathVec3d &wi, const GMathVec3d &wo, const GMathVec3d &n, GMathVec3d &out_kr, GMathVec3d &out_kt) const
 
const double & get_roughness () const
 
void get_bound (const GMathVec3d &wi, const GMathVec3d &n, GMathVec3d &kr, GMathVec3d &kt) const
 
- Public Member Functions inherited from PbrFresnel
 PbrFresnel ()
 Evaluate reflective and transmissive fresnel terms according to incoming, outgoing directions and surface normal.
 
virtual void get_estimation (const GMathVec3d &wi, const GMathVec3d &n, GMathVec3d &kr, GMathVec3d &kt) const
 
- Public Member Functions inherited from CoreScratchpadObject
virtual ~CoreScratchpadObject ()
 Implement this virtual destructor in your data class, the memory scratchpad will call it on the reset call.
 

Detailed Description

class PbrFresnelDiffuse Fresnel model based on "Physically-Based Shading at Disney" by Burley et al, SIGGRAPH 2012, which fakes a rough diffuse microfacet model. Details and formulas are provided page 14 of the aforementioned document.