June 2013
Beginner
352 pages
9h 5m
English
If you have ever walked through unfamiliar terrain when it was foggy, you know the eerie feeling. Shadows scurry at the edge of your vision and monsters seem to lurk behind every tree. Isn't that just the atmosphere that you need for your game?
Thanks to the post-processor, adding fog to a scene is very easy:
Main.java and name the class Fog.java. Remember to also refactor the first line of the main() method to the following:Fog app = new Fog();
FilterPostProcessor per game, and a FogFilter (from the com.jme3.post package).private FilterPostProcessor fpp; private FogFilter fogFilter; ...
Read now
Unlock full access