public BloomRenderer()
        {
            BloomIntensity  = 0.5f;
            BaseIntensity   = 1f;
            BloomSaturation = 1.75f / 2;
            BaseSaturation  = 0.75f;

            self = this;
            Load();
        }
Exemplo n.º 2
0
        public override void CreateInGame()
        {
            Add(new OverClock());
            Add(new OverMap());
            Add(new OverCardPicker());
            Add(new OverTeamBar());
            Add(new PathFindingManager());
            Add(new ShipGameSettings());
            MakeFadeManager();

            bloomRenderer      = new BloomRenderer();
            distortionRenderer = new DistortionRenderer();

            bloomRenderer.Resize(WindowSize);
            distortionRenderer.Resize(WindowSize);

            base.CreateInGame();
        }
Exemplo n.º 3
0
 void ContrastChange()
 {
     BloomRenderer.SetSaturation(ContrastValue.get());
 }
Exemplo n.º 4
0
 void BrightnessChange()
 {
     BloomRenderer.SetIntensity(BrightnessValue.get());
 }