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

            self = this;
            Load();
        }
Пример #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();
        }
Пример #3
0
 void ContrastChange()
 {
     BloomRenderer.SetSaturation(ContrastValue.get());
 }
Пример #4
0
 void BrightnessChange()
 {
     BloomRenderer.SetIntensity(BrightnessValue.get());
 }