protected void create() throws LWJGLException {
super.create();
try {
tex0 = new Texture(Util.getResource("res/grass.png"), Texture.NEAREST, Texture.REPEAT);
tex1 = new Texture(Util.getResource("res/dirt.png"), Texture.NEAREST, Texture.REPEAT);
mask = new Texture(Util.getResource("res/mask.png"), Texture.NEAREST, Texture.REPEAT);
} catch (IOException e) {
throw new RuntimeException("couldn't decode textures");
}
//load our shader program and sprite batch