- BloomFilter now sets the background color to BlackNoAlpha instead of Black for glow.

git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@8572 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
3.0
rem..om 13 years ago
parent 7e8b540587
commit 900dc66584
  1. 2
      engine/src/desktop-fx/com/jme3/post/filters/BloomFilter.java

@ -188,7 +188,7 @@ public class BloomFilter extends Filter {
@Override
protected void postQueue(RenderManager renderManager, ViewPort viewPort) {
if (glowMode != GlowMode.Scene) {
renderManager.getRenderer().setBackgroundColor(ColorRGBA.Black);
renderManager.getRenderer().setBackgroundColor(ColorRGBA.BlackNoAlpha);
renderManager.getRenderer().setFrameBuffer(preGlowPass.getRenderFrameBuffer());
renderManager.getRenderer().clearBuffers(true, true, true);
renderManager.setForcedTechnique("Glow");

Loading…
Cancel
Save