Filters

The SDK allows you to create combinations of filters and preview them on a loaded scene.

Creating filters

To create a new filter:

Editing filters

To see a loaded filter, you have to load some model or scene and press the "show filter" button in the OpenGL window.

You can add a new filter by right-clicking the filter root node. Select a filter to see its properties in the properties window.

Loading filters in a game

To load a filter in a game and add it to a viewport add the following to your games simpleInit() method or some other place:

FilterPostProcessor processor = (FilterPostProcessor) assetManager.loadAsset("Filters/MyFilter.j3f");
viewPort.addProcessor(processor);

view online version