'alpha 1.0 makes fragmentshader invisible

uniform float alpha;
void main()
{
  gl_FragColor = vec4(r, g, b, alpha);
}

this works with alpha values from 0.01-0.99, but when it's 1.0 it becomes fully transparent/invisible, what am I missing?

I'm working with WebGL.



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source