#include <components.h>
◆ get_light_space_matrix() [1/2]
| glm::mat4 DirectionalLight::get_light_space_matrix |
( |
| ) |
const |
◆ get_light_space_matrix() [2/2]
| glm::mat4 DirectionalLight::get_light_space_matrix |
( |
glm::mat4 |
camera_view, |
|
|
glm::mat4 |
camera_proj |
|
) |
| const |
◆ castShadows
| bool DirectionalLight::castShadows = true |
◆ color
| glm::vec3 DirectionalLight::color {1.0f} |
◆ direction
| glm::vec3 DirectionalLight::direction {0.0f, -1.0f, 0.0f} |
◆ intensity
| float DirectionalLight::intensity = 1.0f |
◆ shadowDistance
| float DirectionalLight::shadowDistance = 50.0f |
◆ shadowFar
| float DirectionalLight::shadowFar = 100.0f |
◆ shadowNear
| float DirectionalLight::shadowNear = 1.0f |
The documentation for this struct was generated from the following files: