A new update to Leadwerks Game Engine is available in the beta branch. This update adds post-processing effects into the editor, as well as several bug fixes.
New Features
We've now incorporated post-processing effects shaders inside the editor, for fullscreen shader effects. To add an effect, select the root node the in scene browser. The properties dialog below will now display controls to add, remove, and switch the order of effects in a map:
You can add and remove effects, and switch their order to see the results in real-time. Best of all, you can even open post-effects shaders in the built-in script editor, modify them, and view the results of your changes instantly by pressing the F5 key to compile the shader.
Cameras now have an option to display the scene post-processing effects when they are loaded in your game:
Because the map file format has new information added to it, it is necessary to update your own projects so that the new game executables will be run. You can do this by selecting the File > Project Manager menu item and pressing the Update button. Any overwritten files will have a backup made in the same directory as the original. The default "MyGame" project will be updated automatically. If you get an error when you run your game like "Map version 23 not supported" it is because your project needs to be updated.
Thanks to Leadwerks community members "Shadmar" and "Klepto2" who have already produced many shader effects for Leadwerks developers to use.
Bug Fixes
- A shader was fixed that would fail to compile on Intel graphics chips.
- Editor no longer allows parenting a model limb to the scene root.
- Entity::AlignToVector documentation corrected.
- Terrain jumping glitch fixed.
- Fixed error where releasing entity inside collision function would cause a crash.
- Map switching will now work correctly.
- And several other small issues.
For more information see the bug reports forum.