I want to make HUD partially transparent and some planes in game also, but I must be doing something wrong. I try do do this by setting the color before drawing a plane to glColor4f(1f,0,0,0.5f);
Where the green plane is drawn with orthographic projection, the red one in perspective projection and that brown thing is a 3d model.
This way those plane are not transparent to the other objects in the scene, but to the background they are.
Do You know what could be the reasons why this might happen?