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.8f, 0.8f, 0.8f);glm::vec3 diffuse = glm::vec3(0.8f, 0.8f, 0.8f);variable shininess
cpp
float shininess = 20.0f;float shininess = 20.0f;variable specular
cpp
glm::vec3 specular = glm::vec3(0.96f);glm::vec3 specular = glm::vec3(0.96f);Updated on 2026-05-21 at 15:39:36 +0000