Core::Mesh::Material
Data class holding basic material information.
#include "Core/Resources/Mesh.h"
Public Attributes
Name | |
---|---|
glm::vec3 | ambient |
glm::vec3 | diffuse |
float | shininess |
glm::vec3 | specular |
Public Attributes Documentation
variable ambient
cpp
glm::vec3 ambient = diffuse * 0.1f;
glm::vec3 ambient = diffuse * 0.1f;
variable diffuse
cpp
glm::vec3 diffuse = glm::vec3(0.8, 0.8, 0.8);
glm::vec3 diffuse = glm::vec3(0.8, 0.8, 0.8);
variable shininess
cpp
float shininess = 20.0f;
float shininess = 20.0f;
variable specular
cpp
glm::vec3 specular = glm::vec3(0.96);
glm::vec3 specular = glm::vec3(0.96);
Updated on 2025-01-07 at 13:40:44 +0000