|
SolarSim
|
Defines surface appearance properties for rendering. More...
#include <material.hpp>
Data Fields | |
| std::string | shaderID |
| glm::vec3 | albedo = glm::vec3(1.0f, 1.0f, 1.0f) |
| float | metallic = 0.0f |
| float | roughness = 1.0f |
Defines surface appearance properties for rendering.
| glm::vec3 solarsim::Material::albedo = glm::vec3(1.0f, 1.0f, 1.0f) |
Base color (RGB)
| float solarsim::Material::metallic = 0.0f |
Metallic factor (0 = dielectric, 1 = metal)
| float solarsim::Material::roughness = 1.0f |
Surface roughness (0 = smooth, 1 = rought)
| std::string solarsim::Material::shaderID |
Identifier for the shader program to use