as.setBlendEnabled(true);
as.setSourceFunction(BlendState.SourceFunction.DestinationColor);
as.setDestinationFunction(BlendState.DestinationFunction.SourceColor);
// Set up our passes
final PassNodeState pass1 = new PassNodeState();
pass1.setPassState(ts1);
final PassNodeState pass2 = new PassNodeState();
pass2.setPassState(ts2);
pass2.setPassState(as);
// Add the passes to the pass node
final PassNode pNode = new PassNode();
pNode.addPass(pass1);
pNode.addPass(pass2);