final ColorReplaceEffect sepiaEffect = new ColorReplaceEffect(sepiaTexture);
effectManager.addEffect(sepiaEffect);
// Finally, add a step to draw the result to the framebuffer
final FrameBufferOutputEffect out = new FrameBufferOutputEffect();
final BlendState blend = new BlendState();
blend.setBlendEnabled(true);
blend.setSourceFunction(SourceFunction.SourceAlpha);
blend.setDestinationFunction(DestinationFunction.OneMinusSourceAlpha);
out.setBlend(blend);
effectManager.addEffect(out);
// setup effects
effectManager.setupEffects();