From 12d063c008ec3af8a751b8341740dd1a58cfa654 Mon Sep 17 00:00:00 2001 From: Sam Gateau Date: Thu, 7 Sep 2017 02:14:52 -0700 Subject: [PATCH] Not trying to unjitter the history coordinate --- libraries/render-utils/src/taa.slh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libraries/render-utils/src/taa.slh b/libraries/render-utils/src/taa.slh index 27a67c79eb..856247de6e 100644 --- a/libraries/render-utils/src/taa.slh +++ b/libraries/render-utils/src/taa.slh @@ -200,7 +200,7 @@ vec3 taa_findClosestFragment3x3(vec2 uv) vec2 taa_fetchSourceAndHistory(vec2 fragUV, vec2 fragVelocity, vec2 fragJitterPix, out vec3 sourceColor, out vec3 historyColor) { sourceColor = taa_fetchSourceMap(fragUV).xyz; - vec2 prevFragUV = fragUV - fragJitterPix - fragVelocity; + vec2 prevFragUV = fragUV - fragVelocity; historyColor = sourceColor; if (!(any(lessThan(prevFragUV, vec2(0.0))) || any(greaterThan(prevFragUV, vec2(1.0))))) { historyColor = taa_fetchHistoryMap(prevFragUV).xyz;