@Override
    public void simpleInitApp() {
        cam.setLocation(new Vector3f(0f, 0.5f, 3f));
        viewPort.setBackgroundColor(ColorRGBA.LightGray);

        // Add a light source to the scene.
        DirectionalLight directionalLight = new DirectionalLight();
        directionalLight.setColor(ColorRGBA.Magenta);
        directionalLight.setDirection(Vector3f.UNIT_XYZ.negate());
        rootNode.addLight(directionalLight);


        // Create and add a teapot to the scene graph.
        Spatial teapotModel = assetManager.loadModel("Models/Teapot/Teapot.obj");
        rootNode.attachChild(teapotModel);

        // Create the two moving quads with custom blend modes.
        createLeftQuad();
        createRightQuad();
    }
This test demonstrates the usage of customized blend equations and factors on a material.<br>
Customized blend equations and factors always requires {@link com.jme3.material.RenderState.BlendMode#Custom}.

@author the_Minka
jme3-examples/src/main/java/jme3test/renderer/TestBlendEquations.java