Nameless Engine
|
Public Attributes | |
glm::vec4 | diffuseColor = glm::vec4(1.0F, 1.0F, 1.0F, 1.0F) |
glm::vec4 | specularColor = glm::vec4(1.0F, 1.0F, 1.0F, 1.0F) |
float | roughness = 0.0F |
float | pad [3] |
Constants used by shaders.
glm::vec4 ne::Material::MaterialShaderConstants::diffuseColor = glm::vec4(1.0F, 1.0F, 1.0F, 1.0F) |
Fill color. 4th component stores opacity when transparency is used.
float ne::Material::MaterialShaderConstants::pad[3] |
Explicit padding for clarity.
float ne::Material::MaterialShaderConstants::roughness = 0.0F |
Defines how much specular light will be reflected.
glm::vec4 ne::Material::MaterialShaderConstants::specularColor = glm::vec4(1.0F, 1.0F, 1.0F, 1.0F) |
Reflected color. 4th component is not used.