UFO: Alien Invasion
Toggle main menu visibility
Loading...
Searching...
No Matches
light_vs.glsl
Go to the documentation of this file.
1
/**
2
* @file
3
* @brief Lighting vertex shader.
4
*/
5
6
vec3 point;
7
out_qualifier vec3 normal;
8
9
/**
10
* @brief LightVertex.
11
*/
12
void LightVertex(void) {
13
/* Pass the interpolated normal and position along for dynamic lights.*/
14
normal = normalize(vec3(gl_NormalMatrix * Normal));
15
point = vec3(gl_ModelViewMatrix * Vertex);
16
}
base
shaders
light_vs.glsl
Generated on __DATE__ __TIME__ for UFO: Alien Invasion by
1.17.0