Struct PhysicalMaterialInfo#
Defined in File Material.h
Struct Documentation#
-
struct PhysicalMaterialInfo#
Parameter struct for a PhysicalMaterial.
Public Members
-
float metalness = 0.0#
how metal-like the material is, between 0 and 1
-
Karana::Core::ks_ptr<const GrayscaleTexture> metalnessMap = nullptr#
grayscale metalness map
-
float roughness = 1.0#
how rough the material is, between 0 and 1
-
Karana::Core::ks_ptr<const GrayscaleTexture> roughnessMap = nullptr#
grayscale roughness map
-
float metalness = 0.0#