|
@@ -1,11 +1,7 @@
|
|
|
= jMonkeyEngine SDK: Post-Processor Filters
|
|
|
-:author:
|
|
|
-:revnumber:
|
|
|
-:revdate: 2016/03/17 20:48
|
|
|
+:revnumber: 2.0
|
|
|
+:revdate: 2020/07/10
|
|
|
:keywords: documentation, sdk, effect, file
|
|
|
-:relfileprefix: ../
|
|
|
-:imagesdir: ..
|
|
|
-ifdef::env-github,env-browser[:outfilesuffix: .adoc]
|
|
|
|
|
|
|
|
|
Filters are used for scene-wide effects such as glow, fog, blur. The SDK lets you create a file storing combinations of filters. You can preview the filter settings on a loaded scene in the SDK. You can load them into your application (add them to the viewPort) to activate your preconfigured set of several filters in one step.
|
|
@@ -20,9 +16,9 @@ To create a new filter:
|
|
|
|
|
|
. In the Projects window, right-click Assets→Effects.
|
|
|
. Select File→New File…
|
|
|
-. Select Filter→Empty FilterPostProcessor File in the New File Wizard.
|
|
|
+. Select Filter→Empty FilterPostProcessor File in the New File Wizard.
|
|
|
** An empty filter file appears in the Assets→Effects directory.
|
|
|
-. Double-click the created file.
|
|
|
+. Double-click the created file.
|
|
|
** The file opens in the FilterExplorer window.
|
|
|
|
|
|
|
|
@@ -31,7 +27,7 @@ To create a new filter:
|
|
|
To add filters or modify existing filters
|
|
|
|
|
|
. Double-click a j3f file to open it in the FilterExplorer window.
|
|
|
-. Right-click the j3f file's root node to add a filter.
|
|
|
+. Right-click the j3f file's root node to add a filter.
|
|
|
** Added filters are listed under the filter's root node.
|
|
|
. Open the Properties window and select a filter in the FilterExplorer. Configure filter options like intensity etc.
|
|
|
|
|
@@ -46,9 +42,9 @@ image::sdk/p3wuv.png[p3wuv.png,width="",height=""]
|
|
|
|
|
|
To see a loaded filter
|
|
|
|
|
|
-. Open a model or scene in the SceneComposer.
|
|
|
+. Open a model or scene in the SceneComposer.
|
|
|
. Double-click a j3f file to open it in the FilterExplorer window.
|
|
|
-. Press the “show filter button in the OpenGL window.
|
|
|
+. Press the "`show filter`" button in the OpenGL window.
|
|
|
|
|
|
|
|
|
== Loading filters in a game
|