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());
 }