summaryrefslogtreecommitdiff
path: root/src/renderergl2/glsl/fogpass_fp.glsl
blob: 91884304d59f7c8409cf66946b5b041a32d86be5 (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));
}