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
WardBRDF< REAL > Class Template Reference

Public Member Functions

void initialize (const PbrWardNDF< REAL > *ndf)
 
REAL get_sample (REAL &weight, GMathVec3< REAL > &wo, const GMathVec3< REAL > &wi, const GMathVec3< REAL > &normal, const GMathVec2< REAL > &sample_2d) const
 
REAL get_weight (REAL &weight, const GMathVec3< REAL > &wo, const GMathVec3< REAL > &wi, const GMathVec3< REAL > &normal) const
 

Member Function Documentation

template<typename REAL >
REAL WardBRDF< REAL >::get_sample ( REAL &  weight,
GMathVec3< REAL > &  wo,
const GMathVec3< REAL > &  wi,
const GMathVec3< REAL > &  normal,
const GMathVec2< REAL > &  sample_2d 
) const

Ward implementation