|
Waterflow
Visualize water in terrain
|
Struct that contains one light source. More...
Public Attributes | |
| vec3 | color |
| Color of the light. | |
| float | isDir |
| Is the light directional or not. | |
| vec3 | pos |
| Position of the light. | |
| float | specExp |
| Specular exponent for the light. | |
Struct that contains one light source.
Load an array of light params as a uniform buffer, that makes it possible to upload the lights only once.
Definition at line 13 of file shallowwatershader.frag.