title: Alpha blending between two objects
body: <p>I have two objects in my scene , a rectangle and a circle.</p>
  
  <p>rectangle is 1 unit in z axis and circle is 0 units in z axis.</p>
  
  <p>rectangle has opacity of 50 and the circle has opacity of 100</p>
  
  <p>Why is the alpha of rectagle reducing the alpha of the circle even though the circle has opacity of 100.</p>
  
  <p>This is how the alpha looks like.<a href="https://i.stack.imgur.com/1KHsO.jpg" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/1KHsO.jpg" alt="enter image description here"></a></p>
  
  <p>This is the blend mode i am using.</p>
  
  <pre><code>   glBlendFunc(GL_SRC_ALPHA, GL_ONE_MINUS_SRC_ALPHA);
  </code></pre>