Package com.jmex.effects.water

Examples of com.jmex.effects.water.WaterRenderPass


    reflectedNode.attachChild( skybox );
    reflectedNode.attachChild( createObjects() );

    rootNode.attachChild( reflectedNode );

    waterEffectRenderPass = new WaterRenderPass( cam, 4, false, true );
    //set equations to use z axis as up
    waterEffectRenderPass.setWaterPlane( new Plane( new Vector3f( 0.0f, 0.0f, 1.0f ), 0.0f ) );
    waterEffectRenderPass.setTangent( new Vector3f( 1.0f, 0.0f, 0.0f ) );
    waterEffectRenderPass.setBinormal( new Vector3f( 0.0f, 1.0f, 0.0f ) );
View Full Code Here


    reflectedNode.attachChild( skybox );
    reflectedNode.attachChild( createObjects() );

    rootNode.attachChild( reflectedNode );

    waterEffectRenderPass = new WaterRenderPass( cam, 1
        , false, true );
    //setting to default value just to show
    waterEffectRenderPass.setWaterPlane( new Plane( new Vector3f( 0.0f, 1.0f, 0.0f ), 0.0f ) );

    waterQuad = new Quad( "waterQuad", 1, 1 );
View Full Code Here

TOP

Related Classes of com.jmex.effects.water.WaterRenderPass

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.