Hello there. We upgraded our project from 5.0 to 5.1.1. Pretty much everything went well, except for a rather annoying issue with panning textures - or really any movement within a material. I created a completely fresh project in 5.1.1 and replicated the issue rather easily. Worked fine in 5.0
We’re using TSR, and our velocity writes during base pass. So basically the exact same settings a newly created project uses (I changed nothing in this fresh project’s settings in the example above).
Any help would be much appreciated, because I’m at the end of my wits…
Only workaround i’ve found so far is changing the material to translucent and checking “Output Velocity” in material details. Seems like a bug, i found a similar issue here Unreal Engine Issues and Bug Tracker (UE-164554) but that’s for Nanite WPO meshes. Maybe you can try submitting a bug report with your example project for reproduction?
I’ve noticed that TSR smears when modifying texture coordinates while TAA does not.
I suspect it is a bug. TAA must do some additional math to factor in UV velocities that TSR lacks.
Probably, this smearing can be eliminated using the Previous Frame Switch. The Previous Frame Switch takes as input world position offsets in the current and previous frames. If a material does not use vertex animation, then the Current Frame input should take a zero vector. The task is to calculate world position offset for the Previous Frame input that matches the texture animation. Here are some material snippets for UE 5.0 demonstrating the described principle and a more detailed explanation.
Indeed. One caveat is that this only works on a per vertex basis, so it will only help if the motion is generally consistent / smoothly interpolate across the entire face. Per pixel effects requiring different motion vectors for the same face cannot be fixed this way.
There’s a new setting inside the material as of 5.4, I forget the exact name and I’m not on UE to check, but it’s something like “has pixel animation”. Checking this box is supposed to change how the AA reacts to texture pans and similar effects to prevent or reduce smearing.
It was nonsense from me though that disabling TSR didn’t help, it solves the issue actually, but it’s quite disappointing that the setting doesn’t work (it says it’s there to solve exactly this issue in it’s tooltip).
The only solution seems to be to use MSAA or FXAA. TAA is also affected by this issue.
Also, it doesn’t just happen when velocity writes during base pass, it happens when it’s written on depth pass as well.
I recorded a video but couldn’t find a suitable site to upload it, it’s a shame ue forums doesn’t support videos.