mirror of
https://github.com/Q3Rally-Team/q3rally.git
synced 2024-11-26 22:01:50 +00:00
10 lines
143 B
Text
10 lines
143 B
Text
|
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));
|
||
|
}
|