esp::gfx::PbrDrawable::PBRMaterialCache::ClearCoat struct

Structure holding clearcoat layer values

Public variables

float factor
Mn::GL::Texture2D* texture
float roughnessFactor
Mn::GL::Texture2D* roughnessTexture
float normalTextureScale
Mn::GL::Texture2D* normalTexture

Variable documentation

float esp::gfx::PbrDrawable::PBRMaterialCache::ClearCoat::factor

Clear coat layer intensity

Mn::GL::Texture2D* esp::gfx::PbrDrawable::PBRMaterialCache::ClearCoat::texture

Texture defining clearcoat intensity in R channel. Multiplied by scalar if both are present.

float esp::gfx::PbrDrawable::PBRMaterialCache::ClearCoat::roughnessFactor

Clearcoat layer roughness.

Mn::GL::Texture2D* esp::gfx::PbrDrawable::PBRMaterialCache::ClearCoat::roughnessTexture

Texture describing clear coat roughness in G channel. Multiplied by scalar if both are present.

float esp::gfx::PbrDrawable::PBRMaterialCache::ClearCoat::normalTextureScale

Scale value for clearcoat normal texture

Mn::GL::Texture2D* esp::gfx::PbrDrawable::PBRMaterialCache::ClearCoat::normalTexture

Clearcoat Normal map texture, in RGB channels.