Waterflow
Visualize water in terrain
LightParam Struct Reference

Struct that contains one light source. More...

List of all members.

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.

Detailed Description

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.


The documentation for this struct was generated from the following files:
 All Classes Files Functions Variables Enumerations