createDebugQuads(); rootNode.attachChild( debugQuadsNode );
	protected void simpleInitGame() {		display.setTitle( "Water Test" );		cam.setFrustumPerspective( 45.0f, (float) display.getWidth() / (float) display.getHeight(), 1f, farPlane );		cam.setLocation( new Vector3f( 100, 50, 100 ) );		//y-up		cam.lookAt( new Vector3f( 0, 0, 0 ), Vector3f.UNIT_Y );		//z-up//		cam.lookAt( new Vector3f( 0, 0, 0 ), Vector3f.UNIT_Z );//		((FirstPersonHandler)input).getMouseLookHandler().setLockAxis( Vector3f.UNIT_Z );		cam.update();		setupFog();		Node reflectedNode = new Node( "reflectNode" );		buildSkyBox();		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 ) );		waterQuad = new Quad( "waterQuad", 100, 100 );		waterEffectRenderPass.setWaterEffectOnSpatial( waterQuad );		rootNode.attachChild( waterQuad );		waterEffectRenderPass.setReflectedScene( reflectedNode );		waterEffectRenderPass.setSkybox( skybox );		pManager.add( waterEffectRenderPass );		RenderPass rootPass = new RenderPass();		rootPass.add( rootNode );		pManager.add( rootPass );		RenderPass fpsPass = new RenderPass();		fpsPass.add( fpsNode );		pManager.add( fpsPass );		rootNode.setCullMode( Spatial.CULL_NEVER );		rootNode.setRenderQueueMode( Renderer.QUEUE_OPAQUE );		fpsNode.setRenderQueueMode( Renderer.QUEUE_OPAQUE );	}