Clarisse 5.0 SP8 SDK
5.0.5.8.0
|
Static Public Member Functions | |
static void | evaluate_emission (const CtxEval &eval_ctx, CtxShader &shader_ctx, GMathVec3f &emission, const float *emission_weight=nullptr) |
static void | evaluate_emission (const ModuleLightPhysicalGeometry *light, const CtxEval &eval_ctx, CtxShader &shader_ctx, GMathVec3f &emission, const float *emission_weight=nullptr) |
static void | remove_intensity (GMathVec3f &color) |
Simple helper removing the intensity part of a color. | |
|
static |
Evaluate the emission on the current fragment according to the current scene object emission texture importance sampling mode
emission_weight | Optionnal emission weight cache to consider for the evaluation |
|
static |
Evaluate the emission on the current fragment on a geometry light according to its emission texture importance sampling mode
emission_weight | Optionnal emission weight cache to consider for the evaluation |