mirror of
https://github.com/UberGames/lilium-voyager.git
synced 2024-12-14 22:20:58 +00:00
9 lines
144 B
GLSL
9 lines
144 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));
|
|
}
|