Rendu
A lightweight rendering engine for experimentations
|
Represent a light on the GPU for the forward renderer. More...
#include <ForwardLight.hpp>
Public Attributes | |
glm::mat4 | viewToLight |
View to light matrix. | |
glm::vec4 | colorAndBias |
Light tint and shadow bias. | |
glm::vec4 | positionAndRadius |
Light position and effect radius. | |
glm::vec4 | directionAndPlane |
Light direction and far plane distance. | |
glm::vec4 | typeModeLayer |
Light type, shadow mode and shadow map layer. | |
glm::vec4 | angles |
Cone inner and outer angles. | |
Represent a light on the GPU for the forward renderer.