Struct MaterialDetails¶
Defined in File material_loader.h
Struct Documentation¶
-
struct MaterialDetails¶
Public Members
-
glm::vec3 albedo¶
-
float metallic = 0.f¶
-
float roughness = 0.5f¶
-
float emission = 0.f¶
-
float env_map_rotation = 0.f¶
-
MaterialPass pass_type¶
-
StringId color_texture = INVALID_STRING_ID¶
-
StringId normal_texture = INVALID_STRING_ID¶
-
StringId roughness_texture = INVALID_STRING_ID¶
-
StringId metallic_texture = INVALID_STRING_ID¶
Public Static Functions
-
static MaterialDetails dearchive(ArchiveObject &archive)¶
-
glm::vec3 albedo¶