I’ve added a bloomfilter to the guinode:
FilterPostProcessor fpp = new FilterPostProcessor(assetManager);
BloomFilter bloom = new BloomFilter(BloomFilter.GlowMode.Objects);
bloom.setBloomIntensity(2f);
bloom.setExposurePower(2);
bloom.setExposureCutOff(0f);
bloom.setBlurScale(1.5f);
fpp.addFilter(bloom);
guiViewPort.addProcessor(fpp);
guiViewPort.setClearColor(true);
Then I’ve added a skybox to the rootNode:
Texture west, east, north, south, up, down;
west = app.getAssetManager().loadTexture("Scenes/test_left2.png");
east = app.getAssetManager().loadTexture("Scenes/test_right1.png");
north = app.getAssetManager().loadTexture("Scenes/test_front5.png");
south = app.getAssetManager().loadTexture("Scenes/test_back6.png");
down = app.getAssetManager().loadTexture("Scenes/test_bottom4.png");
up = app.getAssetManager().loadTexture("Scenes/test_top3.png");
sky = SkyFactory.createSky(app.getAssetManager(), west, east, north, south, up, down);
((SimpleApplication) app).getRootNode().attachChild(sky);
The skybox is visible only without the Bloom… why? How can I have both?