From c7cc38199abb28e4983ecd940825f5bf930702ad Mon Sep 17 00:00:00 2001 From: "Westley M. Martinez" Date: Fri, 30 Dec 2016 16:24:31 -0800 Subject: Tweak phosphor parameter scaling, update presets. --- hlsl/phosphor.fx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'hlsl') 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); -- cgit v1.2.3-70-g09d2