June 2013
Beginner
352 pages
9h 5m
English
You already know a way to add glows: the GlowMap and GlowColor parameters in materials. A bloom filter results in the same halo-like glow, but it is applied scene-wide.
Let's apply a glow to our scene:
Main.java and name the class BloomGlow.java. Remember to also refactor the first line of the main() method to BloomGlow app = new BloomGlow().FilterPostProcessor, and one for the bloom filter (from the com.jme3.post.filters package):private Spatial sceneGeo; private FilterPostProcessor fpp; private BloomFilter bloom;
bloom and fpp in the simpleInitApp() method. Add the FilterPostProcessor to the viewPort, and add the BloomFilter ...Read now
Unlock full access