Package com.bitfire.postprocessing.filters

Examples of com.bitfire.postprocessing.filters.Combine


    bloom = new Bloom( (int)(Gdx.graphics.getWidth() * 0.25f), (int)(Gdx.graphics.getHeight() * 0.25f) );
    curvature = new Curvature();
    zoomer = new Zoomer( vpW, vpH, isDesktop ? RadialBlur.Quality.VeryHigh : RadialBlur.Quality.Low );
    int effects = Effect.TweakContrast.v | Effect.PhosphorVibrance.v | Effect.Scanlines.v | Effect.Tint.v;
    crt = new CrtMonitor( vpW, vpH, false, false, RgbMode.ChromaticAberrations, effects );
    Combine combine = crt.getCombinePass();
    combine.setSource1Intensity( 0f );
    combine.setSource2Intensity( 1f );
    combine.setSource1Saturation( 0f );
    combine.setSource2Saturation( 1f );

    vignette = new Vignette( vpW, vpH, false );

    // add them to the postprocessor
    postProcessor.addEffect( curvature );
View Full Code Here


      blur.setType(BlurType.Gaussian3x3); // modern machines defocus
    } else {
      buffer = new FrameBuffer(PostProcessor.getFramebufferFormat(), fboWidth, fboHeight, false);
    }

    combine = new Combine();
    crt = new CrtScreen(barrelDistortion, mode, effectsSupport);
  }
View Full Code Here

  public Bloom (int fboWidth, int fboHeight) {
    pingPongBuffer = PostProcessor.newPingPongBuffer(fboWidth, fboHeight, PostProcessor.getFramebufferFormat(), false);

    blur = new Blur(fboWidth, fboHeight);
    threshold = new Threshold();
    combine = new Combine();

    setSettings(new Settings("default", 2, 0.277f, 1f, .85f, 1.1f, .85f));
  }
View Full Code Here

TOP

Related Classes of com.bitfire.postprocessing.filters.Combine

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.