float4 main(uniform float alpha_value, uniform float time, uniform float4 color) : COLOR { color.w = alpha_value * ((sin(time * 5.0) / 3.14 + 1.0) / 2.0 ); return color; }