UFO: Alien Invasion
Loading...
Searching...
No Matches
warp_vs.glsl
Go to the documentation of this file.
1/**
2 * @file
3 * @brief Warp vertex shader.
4 */
5
6#include "fog_vs.glsl"
7
8
9/**
10 * @brief Main.
11 */
12void main(void) {
13 /* MVP transform into clip space.*/
14 gl_Position = ftransform();
15
16 /* Pass texcoords through, */
17 gl_TexCoord[0] = gl_MultiTexCoord0;
18
19 /* and primary color.*/
20 gl_FrontColor = gl_Color;
21
22#if r_fog
23 FogVertex();
24#endif
25}