|
void | configure (const GMathVec3d &reflectivity, const GMathVec3d &edge_tint, bool use_approx=false) |
|
void | evaluate (const GMathVec3d &wi, const GMathVec3d &wo, const GMathVec3d &n, GMathVec3d &out_kr, GMathVec3d &out_kt) const |
|
void | get_bound (const GMathVec3d &wi, const GMathVec3d &n, GMathVec3d &kr, GMathVec3d &kt) const |
|
const GMathVec3d & | get_eta () const |
|
const GMathVec3d & | get_kappa () const |
|
const bool & | is_scalar () const |
|
double | compute_reflectance (double cos_in, double eta, double kappa) const |
|
GMathVec3d | compute_reflectance (double cos_in, const GMathVec3d &eta, const GMathVec3d &kappa) const |
|
| 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 |
|
virtual | ~CoreScratchpadObject () |
| Implement this virtual destructor in your data class, the memory scratchpad will call it on the reset call.
|
|
|
static GMathVec3d | s_fresnel_tint_max |
|
static double | s_min_eta = 0.001 |
|
static double | s_min_kappa = 0.0 |
|
class PbrFresnelConductor Implementation of the Fresnel equations for conductors