From: MirceaKitsune Date: Tue, 5 Jul 2011 12:52:38 +0000 (+0300) Subject: Enable HDR iris adaptation by default. Causes the view to get brighter when the playe... X-Git-Url: https://de.git.xonotic.org/?p=voretournament%2Fvoretournament.git;a=commitdiff_plain;h=e325a7f7becc59c2da2f08c5425297acb124ab2e;ds=sidebyside Enable HDR iris adaptation by default. Causes the view to get brighter when the player sits in a dark spot, and vice versa (like in real life). --- diff --git a/data/defaultVT.cfg b/data/defaultVT.cfg index 446a62d3..122d5f17 100644 --- a/data/defaultVT.cfg +++ b/data/defaultVT.cfg @@ -189,6 +189,13 @@ r_bloom_colorsubtract 0.25 r_bloom_resolution 320 r_hdr_range 4 +r_hdr_irisadaptation" 1 "adjust scene brightness according to light intensity at player location" +r_hdr_irisadaptation_multiplier 2 "brightness at which value will be 1.0"}; +r_hdr_irisadaptation_minvalue 0.65 "minimum value that can result from multiplier / brightness" +r_hdr_irisadaptation_maxvalue 1.35 "maximum value that can result from multiplier / brightness" +r_hdr_irisadaptation_value 1 "current value as scenebrightness multiplier, changes continuously when irisadaptation is active" +r_hdr_irisadaptation_fade 0.5 "fade rate at which value adjusts" + // weapon model leaning / following cl_leanmodel 1 // enables weapon leaning effect when looking around cl_leanmodel_side_speed 0.7 "gun leaning sideways speed"