
// ------- UNIFORMS (SHADER CONSTS) -------
uniform vec4		u_vAlphaDistanceFunction;

// ------- INTERPOLATORS (SHADER INPUTS) -------
varying vec4		v_vColor;
varying float		v_fDistToCamera;

// ------- FUNCTIONS -------

void main(void)
{
	float a = GetGrowingValue(u_vAlphaDistanceFunction, v_fDistToCamera);
	gl_FragColor = vec4(v_vColor.xyz, a);
}
