diff options
author | 2016-12-30 16:24:31 -0800 | |
---|---|---|
committer | 2016-12-30 16:24:31 -0800 | |
commit | c7cc38199abb28e4983ecd940825f5bf930702ad (patch) | |
tree | 7eb7be6f994ce030accc41822f082666af9bc24f | |
parent | 7cda4860ec7ba81b6a05c486c6ef06385224c6b3 (diff) |
Tweak phosphor parameter scaling, update presets.
-rw-r--r-- | hlsl/phosphor.fx | 2 | ||||
-rw-r--r-- | ini/presets/raster.ini | 4 | ||||
-rw-r--r-- | ini/presets/vector-mono.ini | 5 | ||||
-rw-r--r-- | ini/presets/vector.ini | 4 |
4 files changed, 8 insertions, 7 deletions
diff --git a/hlsl/phosphor.fx b/hlsl/phosphor.fx index 59b2ce98935..579a110eb6d 100644 --- a/hlsl/phosphor.fx +++ b/hlsl/phosphor.fx @@ -128,7 +128,7 @@ float4 ps_main(PS_INPUT Input) : COLOR b *= tau.b == 0 ? 0 : exp(-DeltaTime / tau.b); } else { - float3 gamma = 1 / (TimeConstant * 0.04342944819); + float3 gamma = 1 / (TimeConstant * 0.004342944819); if (r != 0.0f) r = pow(gamma.r * DeltaTime + pow(1 / r, 1 / Beta.r), -Beta.r); diff --git a/ini/presets/raster.ini b/ini/presets/raster.ini index 8f141e875fc..702f071060b 100644 --- a/ini/presets/raster.ini +++ b/ini/presets/raster.ini @@ -38,8 +38,8 @@ scale 1.15,1.05,0.90 power 0.90,0.90,1.15 floor 0.025,0.025,0.025 phosphor_mode 2 -phosphor_beta 1.8,1.8,1.8 -phosphor_gamma 50,50,50 +phosphor_time 0.050,0.005,0.005 +phosphor_beta 1.0,0.5,0.5 # # NTSC POST-PROCESSING OPTIONS diff --git a/ini/presets/vector-mono.ini b/ini/presets/vector-mono.ini index 33e4c3096f3..1886785c0bd 100644 --- a/ini/presets/vector-mono.ini +++ b/ini/presets/vector-mono.ini @@ -37,8 +37,9 @@ offset 0.0,0.0,0.0 scale 1.0,1.0,1.0 power 1.0,1.0,1.0 floor 0.0,0.0,0.0 -phosphor_mode 1 -phosphor_tau 0.026,0.026,0.026 +phosphor_mode 2 +phosphor_time 0.05,0.05,0.05 +phosphor_beta 1.0,1.0,1.0 # # NTSC POST-PROCESSING OPTIONS diff --git a/ini/presets/vector.ini b/ini/presets/vector.ini index 1748476c385..c1b57de84a9 100644 --- a/ini/presets/vector.ini +++ b/ini/presets/vector.ini @@ -41,8 +41,8 @@ scale 1.0,1.0,1.0 power 1.0,1.0,1.0 floor 0.0,0.0,0.0 phosphor_mode 2 -phosphor_beta 1.8,1.8,1.8 -phosphor_gamma 50,50,50 +phosphor_time 0.050,0.005,0.005 +phosphor_beta 1.0,0.5,0.5 # # NTSC POST-PROCESSING OPTIONS |