Hey chaps,
I cant seam to find the equivalent of this(http://slick.javaunlimited.net/viewtopic.php?p=19140) in libGDX.
I have 3 images: stars, the a circle shape and some terrain.
I am trying to just display the terrain inside the circle so that the stars texture can be moved to give a fake pan/tilt effect.
I have been trying via the following but suspect it is the wrong technique:
batch.begin();
batch.draw(stars,0,0,WIDTH,HEIGHT);
batch.draw(terrain,0,0,WIDTH,HEIGHT);
Gdx.gl.glColorMask(false, false, true, true);
batch.draw(mask,0,0);
Gdx.gl.glColorMask(true, true, true, true);
batch.end();