Home
last modified time | relevance | path

Searched refs:waterProcessor (Results 1 – 2 of 2) sorted by relevance

/external/jmonkeyengine/engine/src/test/jme3test/water/
DTestSceneWater.java102 SimpleWaterProcessor waterProcessor = new SimpleWaterProcessor(assetManager); in simpleInitApp() local
103 waterProcessor.setReflectionScene(mainScene); in simpleInitApp()
104 waterProcessor.setDebug(false); in simpleInitApp()
105 waterProcessor.setLightPosition(lightPos); in simpleInitApp()
106 waterProcessor.setRefractionClippingOffset(1.0f); in simpleInitApp()
111 waterProcessor.setPlane(new Plane(Vector3f.UNIT_Y, waterLocation.dot(Vector3f.UNIT_Y))); in simpleInitApp()
112 WaterUI waterUi=new WaterUI(inputManager, waterProcessor); in simpleInitApp()
113 waterProcessor.setWaterColor(ColorRGBA.Brown); in simpleInitApp()
114 waterProcessor.setDebug(true); in simpleInitApp()
132 water.setMaterial(waterProcessor.getMaterial()); in simpleInitApp()
[all …]
DTestSimpleWater.java58 SimpleWaterProcessor waterProcessor; field in TestSimpleWater
75 waterProcessor = new SimpleWaterProcessor(assetManager); in simpleInitApp()
76 waterProcessor.setReflectionScene(sceneNode); in simpleInitApp()
77 waterProcessor.setDebug(true); in simpleInitApp()
78 viewPort.addProcessor(waterProcessor); in simpleInitApp()
80 waterProcessor.setLightPosition(lightPos); in simpleInitApp()
85 waterPlane.setMaterial(waterProcessor.getMaterial()); in simpleInitApp()
140 waterProcessor.setLightPosition(lightPos); in simpleUpdate()
147 waterPlane.setMaterial(waterProcessor.getMaterial()); in onAction()