UFO: Alien Invasion
Loading...
Searching...
No Matches
fog_fs.glsl
Go to the documentation of this file.
1
/**
2
* @file
3
* @brief Fog fragment shader.
4
*/
5
6
#if r_fog
7
in_qualifier float fog;
8
uniform vec3 FOGCOLOR;
9
10
/**
11
* @brief FogFragment.
12
*/
13
vec4 FogFragment(vec4 inColor) {
14
return vec4(mix(inColor.rgb, FOGCOLOR, fog), inColor.a);
15
}
16
#endif
base
shaders
fog_fs.glsl
Generated on __DATE__ __TIME__ for UFO: Alien Invasion by
1.16.1