mirror of
https://github.com/overte-org/overte.git
synced 2025-08-04 14:59:47 +02:00
Not trying to unjitter the history coordinate
This commit is contained in:
parent
965118aa47
commit
12d063c008
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue