Why when I try to place a transparent color I get black instead.
You must enable blending before drawing:
Gdx.gl.glEnable(GL20.GL_BLEND);
Gdx.gl.glBlendFunc(GL20.GL_SRC_ALPHA, GL20.GL_ONE_MINUS_SRC_ALPHA);
I already use
Gdx.gl.glEnable(GL20.GL_BLEND);
Gdx.gl.glBlendFunc(GL20.GL_SRC_ALPHA, GL20.GL_ONE_MINUS_SRC_ALPHA);
but still no effect.
Btw here is how I draw the shape.
renderer.texCoord(((float)i)sizeConst, 0f);
renderer.color(1, 1, 1, 1f);
renderer.vertex(((2f / ((float) w)) * points.get(i).x - 1f),
-1f(((2f / ((float) h)) * points.get(i).y - 1f)
- (2f / ((float) h))*20f),1f);
renderer.texCoord(((float)i)sizeConst , 1f);
renderer.color(1, 1, 1,1f);
renderer.vertex(((2f / ((float) w)) * points.get(i).x - 1f) ,
-1f(((2f / ((float) h)) * points.get(i).y - 1f)), 1f);