From: MirceaKitsune Date: Fri, 25 Feb 2011 22:04:58 +0000 (+0200) Subject: Add intensity slider for bloom X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=b5a4e6a766e75870980753ebf25ccb5c2c29154e;p=voretournament%2Fvoretournament.git Add intensity slider for bloom --- diff --git a/data/qcsrc/menu/voret/dialog_settings_effects.c b/data/qcsrc/menu/voret/dialog_settings_effects.c index 33f045c2..ca205960 100644 --- a/data/qcsrc/menu/voret/dialog_settings_effects.c +++ b/data/qcsrc/menu/voret/dialog_settings_effects.c @@ -163,6 +163,11 @@ void fillVoretEffectsSettingsTab(entity me) me.TD(me, 1, 1, e = makeVoretCheckBox(0, "r_bloom", "Bloom")); setDependent(e, "r_hdr", 0, 0); me.TD(me, 1, 2, e = makeVoretCheckBox(0, "r_hdr", "High Dynamic Range (HDR)")); + me.TR(me); + me.TDempty(me, 0.2); + me.TD(me, 1, 1, e = makeVoretTextLabel(0, "Intensity:")); + me.TD(me, 1, 2, e = makeVoretSlider(2, 6, 0.1, "r_bloom_brighten")); + setDependentOR(e, "r_bloom", 1, 1, "r_hdr", 1, 1); me.TR(me); me.TR(me); s = makeVoretSlider(0.1, 1, 0.1, "r_motionblur");