public BloomRenderer() { BloomIntensity = 0.5f; BaseIntensity = 1f; BloomSaturation = 1.75f / 2; BaseSaturation = 0.75f; self = this; Load(); }
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(); }
void ContrastChange() { BloomRenderer.SetSaturation(ContrastValue.get()); }
void BrightnessChange() { BloomRenderer.SetIntensity(BrightnessValue.get()); }