-
-
Notifications
You must be signed in to change notification settings - Fork 21.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Vulkan: TAA smears Skyboxes #67332
Comments
You mention motion vectors a few times in this Issue, are you seeing motion vectors when you turn the motion vector debug mode on? The skybox should not generate any motion vectors at all, so if it is, that could point us in the direction of the bug. |
@clayjohn I tried that but I saw only pure blackness. |
The sky shader doesn't appear to do any sort of TAA handling and isn't even being fed the previous frame's data yet. |
Godot version
v4.0.beta.custom_build [ca25c6e]
System information
Arch Linux, KDE, AMD RX6800XT, Mesa, Vulkan, Clustered+
Issue description
Temporal Anti-Aliasing seems to recieve no motion vectors for skybox textures, resulting in motion smearing when rotating the camera.
This is especially aparrent with textures detailed enough so that TAA's blending threshold doesn't kick in:
Here's an example with PhysicalSky using a spreckly FastNoiseLite texture in the "Night Sky" slot to imitate stars. ooking around causes massive smearing. Note the difference between the textured ground and the sky - both were moving the same way on-screen.
Steps to reproduce
Use a very grainy, 4x2K resolution texture and put it either into PhysicalSky's Night Sky rtexture slot or into PanoramicSky.
Minimal reproduction project
Here's a simple project that demonstrates this with a rotating camera:
TAA vs Skybox.zip
I've also added an alpha-blended sprite to demonstrate how transparency overwrites motion vectors for anything that's behind it regardless of alpha value.
The text was updated successfully, but these errors were encountered: