SolarSim
Loading...
Searching...
No Matches
material.hpp
Go to the documentation of this file.
1#pragma once
2
3#include <glm/vec3.hpp>
4#include <string>
5
6namespace solarsim {
7
13 struct Material {
15 std::string shaderID;
17 glm::vec3 albedo = glm::vec3(1.0f, 1.0f, 1.0f);
19 float metallic = 0.0f;
21 float roughness = 1.0f;
22 };
23}
Definition engine.cpp:23
Defines surface appearance properties for rendering.
Definition material.hpp:13
float metallic
Definition material.hpp:19
std::string shaderID
Definition material.hpp:15
float roughness
Definition material.hpp:21
glm::vec3 albedo
Definition material.hpp:17