I have to draw a Texture with some opacity. I can't use a Sprite, because I'm distorting the Texture via SpriteBatch's draw(Texture texture, float[] spriteVertices, int offset, int count).
Setting the color of the SpriteBatch right before drawing, like this
Color color = batch.getColor();
float oldAlpha = color.a;
color.a = 0.3f;
batch.setColor(color);
batch.draw(img, vertices, 0, vertices.length);
color.a = oldAlpha;
batch.setColor(color);
does not work. It seems like the only possible way to do this is to use a Sprite, but I need the Texture for the above method.