Clarisse 5.0 SP8 SDK  5.0.5.8.0
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
Static Public Member Functions | List of all members
PbrMaterialHelpers Class Reference

Static Public Member Functions

template<class CMA >
static GMathVec3d get_textured_normal (const CtxEval &eval_ctx, CtxShader &shader_ctx, const CtxSample &shading_sample, const CMA &cma)
 Return the blend textured normal if input normal is textured else it returns the shading sample normal.
 
static GMathVec3d compute_tangent (const GMathMatrix4x4d &world_matrix, const GMathVec3d &normal)