q3rally/engine/code/renderergl2/glsl/fogpass_fp.glsl
zturtleman 866aa787cf ioquake3 resync to 3306 from 1951.
Update to ioquake3 revision 3306 from 1951 of the ioq3 Github repo via subversion. Over 4 years of changes.
2017-07-10 01:33:41 +00:00

9 lines
143 B
GLSL

uniform vec4 u_Color;
varying float var_Scale;
void main()
{
gl_FragColor = u_Color;
gl_FragColor.a = sqrt(clamp(var_Scale, 0.0, 1.0));
}