diff options
author | 2016-12-30 16:24:31 -0800 | |
---|---|---|
committer | 2016-12-30 16:24:31 -0800 | |
commit | c7cc38199abb28e4983ecd940825f5bf930702ad (patch) | |
tree | 7eb7be6f994ce030accc41822f082666af9bc24f /hlsl | |
parent | 7cda4860ec7ba81b6a05c486c6ef06385224c6b3 (diff) |
Tweak phosphor parameter scaling, update presets.
Diffstat (limited to 'hlsl')
-rw-r--r-- | hlsl/phosphor.fx | 2 |
1 files changed, 1 insertions, 1 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); |