Waterflow
Visualize water in terrain
|
Light uniform. More...
#include <myDrawable.h>
Public Attributes | |
glm::vec3 | color |
Color of the light. | |
GLfloat | isDirectional |
Is the light directional or not. | |
glm::vec3 | position |
Position of the light. | |
GLfloat | specularComponent |
Specular exponent of the light (should probably be part of material not light) |
Light uniform.
Used as a uniform buffer to avoid sending the lights more than once to the GPU. Use this as an array to send multiple lights to the shader programs.
Definition at line 25 of file myDrawable.h.