|
GREM 3.12.0
Game/Rendering Engine Modules for C++
|
Material properties of a Node. More...
#include <GREM/core/formats/obj.hpp>
Public Attributes | |
| String | name {} |
| Name of the material. | |
| String | ambientMapName {} |
| Relative filepath of the ambient map image, or empty for no ambient map. | |
| String | diffuseMapName {} |
| Relative filepath of the diffuse map image, or empty for no diffuse map. | |
| String | specularMapName {} |
| Relative filepath of the specular map image, or empty for no specular map. | |
| String | emissiveMapName {} |
| Relative filepath of the emissive map image, or empty for no emissive map. | |
| String | specularExponentMapName {} |
| Relative filepath of the specular exponent map image, or empty for no specular exponent map. | |
| String | dissolveFactorMapName {} |
| Relative filepath of the dissolve factor map image, or empty for no dissolve factor map. | |
| String | bumpMapName {} |
| Relative filepath of the bump map image, or empty for no bump map. | |
| String | normalMapName {} |
| Relative filepath of the normal map image, or empty for no normal map. | |
| String | occlusionRoughnessMetallicMapName {} |
| Relative filepath of the occlusion-roughness-metallic map image, or empty for no ORM map. | |
| vec3 | ambientColor {1.0f, 1.0f, 1.0f} |
| Ambient color factor to multiply the sampled ambient map value by. | |
| vec3 | diffuseColor {1.0f, 1.0f, 1.0f} |
| Diffuse color factor to multiply the sampled diffuse map value by. | |
| vec3 | specularColor {1.0f, 1.0f, 1.0f} |
| Specular color factor to multiply the sampled specular map value by. | |
| vec3 | emissiveColor {0.0f, 0.0f, 0.0f} |
| Emissive color factor to multiply the sampled emissive map value by. | |
| float | specularExponent = 1.0f |
| Specular exponent factor to multiply the sampled specular exponent map value by. | |
| float | dissolveFactor = 1.0f |
| Dissolve factor to multiply the sampled dissolve factor map value by. | |
| Optional< float > | roughnessFactor {} |
| Roughness factor to multiply the sampled roughness value by, or an empty optional if unspecified. | |
| Optional< float > | metallicFactor {} |
| Metallic factor to multiply the sampled metallic value by, or an empty optional if unspecified. | |
| IlluminationModel | illuminationModel = IlluminationModel::FLAT |
| Illumination model to use for rendering this material. | |
| String grem::obj::mtl::Material::name {} |
Name of the material.
| String grem::obj::mtl::Material::ambientMapName {} |
Relative filepath of the ambient map image, or empty for no ambient map.
| String grem::obj::mtl::Material::diffuseMapName {} |
Relative filepath of the diffuse map image, or empty for no diffuse map.
| String grem::obj::mtl::Material::specularMapName {} |
Relative filepath of the specular map image, or empty for no specular map.
| String grem::obj::mtl::Material::emissiveMapName {} |
Relative filepath of the emissive map image, or empty for no emissive map.
| String grem::obj::mtl::Material::specularExponentMapName {} |
Relative filepath of the specular exponent map image, or empty for no specular exponent map.
| String grem::obj::mtl::Material::dissolveFactorMapName {} |
Relative filepath of the dissolve factor map image, or empty for no dissolve factor map.
| String grem::obj::mtl::Material::bumpMapName {} |
Relative filepath of the bump map image, or empty for no bump map.
| String grem::obj::mtl::Material::normalMapName {} |
Relative filepath of the normal map image, or empty for no normal map.
| String grem::obj::mtl::Material::occlusionRoughnessMetallicMapName {} |
Relative filepath of the occlusion-roughness-metallic map image, or empty for no ORM map.
| vec3 grem::obj::mtl::Material::ambientColor {1.0f, 1.0f, 1.0f} |
Ambient color factor to multiply the sampled ambient map value by.
| vec3 grem::obj::mtl::Material::diffuseColor {1.0f, 1.0f, 1.0f} |
Diffuse color factor to multiply the sampled diffuse map value by.
| vec3 grem::obj::mtl::Material::specularColor {1.0f, 1.0f, 1.0f} |
Specular color factor to multiply the sampled specular map value by.
| vec3 grem::obj::mtl::Material::emissiveColor {0.0f, 0.0f, 0.0f} |
Emissive color factor to multiply the sampled emissive map value by.
| float grem::obj::mtl::Material::specularExponent = 1.0f |
Specular exponent factor to multiply the sampled specular exponent map value by.
| float grem::obj::mtl::Material::dissolveFactor = 1.0f |
Dissolve factor to multiply the sampled dissolve factor map value by.
| Optional<float> grem::obj::mtl::Material::roughnessFactor {} |
Roughness factor to multiply the sampled roughness value by, or an empty optional if unspecified.
| Optional<float> grem::obj::mtl::Material::metallicFactor {} |
Metallic factor to multiply the sampled metallic value by, or an empty optional if unspecified.
| IlluminationModel grem::obj::mtl::Material::illuminationModel = IlluminationModel::FLAT |
Illumination model to use for rendering this material.