esp::gfx::PbrDrawable::PBRMaterialCache::TransmissionLayer struct

Structure holding transmission layer values

Public variables

float factor
Mn::GL::Texture2D* texture

Variable documentation

float esp::gfx::PbrDrawable::PBRMaterialCache::TransmissionLayer::factor

The base percentage of light that is transmitted through the surface.

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

A texture that defines the transmission percentage of the surface, stored in the R channel. This will be multiplied by transmissionFactor.