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
MicrofacetRefractionBTDF< EXPOSE_MICROFACET_NORMAL, SHADOWING_MASKING_CORRELATION, TIR_ENABLED, REAL > Class Template Reference

Public Member Functions

void initialize (const PbrMicrofacetDistribution< REAL > *microfacet_config, const GMathVec3< REAL > &shading_normal, const GMathVec3< REAL > &shading_tangent, const REAL &ior, bool is_thin)
 
const REAL & get_ior () const
 
void set_dispersion (bool inverted_ior, REAL dispersion, GRandomDefault *rng)
 
unsigned int get_sampling_dimension () const
 
REAL get_sample (GMathVec3< REAL > &weights, GMathVec3< REAL > &wh, GMathVec3< REAL > &wo, const GMathVec3< REAL > &wi, const GMathVec3< REAL > &normal, const REAL var[]) const
 
REAL get_weight (GMathVec3< REAL > &weights, GMathVec3< REAL > &wh, const GMathVec3< REAL > &wo, const GMathVec3< REAL > &wi, const GMathVec3< REAL > &normal) const