Game Development Reference
In-Depth Information
7. There are also Light Direction and Light Color properties in there. Let's copy
the values from our Directional Light element here to make them match. You
will find them by moving to the SceneExplorer window, selecting the Direction-
al Light element, and looking in the Properties window.
8. Lastly, we need to add the following lines to the simpleInit method of our
test application:
FilterPostProcessor processor = (FilterPostProcessor)
assetManager.loadAsset("Effects/Water.j3f");
viewPort.addProcessor(processor);
Search WWH ::




Custom Search