font = new BitmapFont(Gdx.files.internal("data/arial-15.fnt"), false);
}
public void initShader() {
diffuseShader = new ShaderProgram(DiffuseShader.mVertexShader, DiffuseShader.mFragmentShader);
if (diffuseShader.isCompiled() == false) {
Gdx.app.log("diffuseShader: ", diffuseShader.getLog());
Gdx.app.exit();
}
waterShaderFog = new ShaderProgram(WaterShaderFog.mVertexShader, WaterShaderFog.mFragmentShader);
if (waterShaderFog.isCompiled() == false) {
Gdx.app.log("waterShaderFog: ", waterShaderFog.getLog());
Gdx.app.exit();
}
flagShaderFog = new ShaderProgram(DiffuseShaderFogWobble.mVertexShader, DiffuseShaderFogWobble.mFragmentShader);
if (flagShaderFog.isCompiled() == false) {
Gdx.app.log("FlagShaderFog: ", flagShaderFog.getLog());
Gdx.app.exit();
}