Examples of CrtMonitor


Examples of com.bitfire.postprocessing.effects.CrtMonitor

    // create the effects you want
    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 );
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.