summaryrefslogtreecommitdiff
path: root/src/renderergl2/glsl/fogpass_fp.glsl
blob: e2ad465ba39175fd48bad3adbb051fab324333dc (plain)
1
2
3
4
5
6
7
8
9
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));
}