CG-Project2
Loading...
Searching...
No Matches
LightShaderBlock Struct Reference

Public Attributes

int type = LightType::LIGHT_DIRECTIONAL
float intensity = 1
glm::vec3 color {1, 1, 1}
glm::vec3 position {}
glm::vec3 direction {}
glm::vec3 ambient {.1f, .1f, .1f}
glm::vec3 diffuse {.8f, .8f, .8f}
glm::vec3 specular {1, 1, 1}
float constant = 1
float linear = .09f
float quadratic = .032f
float cutoff = 12.5f
float outerCutoff = 17.5f
bool isSmooth = false

The documentation for this struct was generated from the following file: