summaryrefslogtreecommitdiffstatshomepage
path: root/hlsl
diff options
context:
space:
mode:
author Westley M. Martinez <anikom15@gmail.com>2016-12-30 16:24:31 -0800
committer Westley M. Martinez <anikom15@gmail.com>2016-12-30 16:24:31 -0800
commitc7cc38199abb28e4983ecd940825f5bf930702ad (patch)
tree7eb7be6f994ce030accc41822f082666af9bc24f /hlsl
parent7cda4860ec7ba81b6a05c486c6ef06385224c6b3 (diff)
Tweak phosphor parameter scaling, update presets.
Diffstat (limited to 'hlsl')
-rw-r--r--hlsl/phosphor.fx2
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);