Support Forum G3D Web Page |
Non-physical manipulations of the BSDF commonly employed for expressive rendering effects. More...
Public Member Functions | |
ExpressiveParameters () | |
ExpressiveParameters (const Any &a) | |
float | boost (const Color3 &diffuseReflectivity) const |
Return the amount to boost reflectivity for a surface with a priori reflectivity diffuseReflectivity. More... | |
Any | toAny () const |
Public Attributes | |
float | saturatedMaterialBoost |
Scale the diffuse (i.e., non-impulse) reflectivity of surfaces with saturated diffuse spectra by this amount. More... | |
float | unsaturatedMaterialBoost |
Scale the diffuse (i.e., non-impulse) reflectivity of surfaces with unsaturated diffuse spectra by this amount. More... | |
Non-physical manipulations of the BSDF commonly employed for expressive rendering effects.
|
inline |
G3D::Surfel::ExpressiveParameters::ExpressiveParameters | ( | const Any & | a | ) |
float G3D::Surfel::ExpressiveParameters::boost | ( | const Color3 & | diffuseReflectivity | ) | const |
Return the amount to boost reflectivity for a surface with a priori reflectivity diffuseReflectivity.
Any G3D::Surfel::ExpressiveParameters::toAny | ( | ) | const |
float G3D::Surfel::ExpressiveParameters::saturatedMaterialBoost |
Scale the diffuse (i.e., non-impulse) reflectivity of surfaces with saturated diffuse spectra by this amount.
In Mirror's Edge, values as high as 10 were used for this term.
Note that many BSDFs will not be energy conserving if this value is greater than 1.0f.
float G3D::Surfel::ExpressiveParameters::unsaturatedMaterialBoost |
Scale the diffuse (i.e., non-impulse) reflectivity of surfaces with unsaturated diffuse spectra by this amount.