Android Opengl-es make transparent background on a texture, how?
<p>I have a texture with a black background. </p>

<p>I d like to make a pixel color key transparency. </p>

<p>My picture is a png file, but the background is not transparent, it is a BLACK(or red or yellow, etc) color.</p>

<p>How can i draw that texture without my background? </p>

<p>this code not work:</p>

<pre><code>gl.glBlendFunc(GL10.GL_SRC_ALPHA, GL10.GL_ONE);
gl.glEnable(GL10.GL_BLEND);
</code></pre>

<p>this code only work on transparent png's, </p>

<p>thanks</p>
