Reflections and objects flicker

Hello!
I have annoying problem with flickering of objects (like actors intersecting with the floor on my example) and reflections. It’s like every frame in edit mode and play mode generating this kind of movement/flicker. On play mode it is very problematic, because on my reflections (mostly on edges of objects) I have this kind of artifacts.
How to solve it?

■■■■. I forgot:) Of course

318717-ezgifcom-video-to-gif.gif

On this gif it’s slow. In editor it’s fast, and also I have this on reflections

Can you post screenshots or or link a video?

Maybe it could be the type of anti-aliasing? Try turning it off in the project settings and see if that changes anything.

that float precision issue on Z-buffer, so billboards z-fighting with floor. It’s normal

1 Like

Thank you for the answer, but it also occurs on edges of objects with materials with small roughness amount. Is it possible to clean those kind of reflections somehow?

If you are using temporal anti-aliasing (which is the engine default) then there are a few cases where flicker will occur.

  1. As was mentioned - Z fighting if faces are overlapping perfectly or close enough.
  2. In the case of geometry - if some objects are too thin or become thin at a distance then TemporalAA can cause flickering. For example - fences. There are various workarounds for such cases.
  3. In the case of textures - if your texture size isn’t by the power of two it won’t have MipMaps. If those aren’t generated, textures with high detail will start flickering at a distance since the engine doesn’t have a lower resolution version of the texture available.
    Note: I’m mentioning this because if your roughness map doesn’t have MipMaps, it may cause flickering in the reflections.

Those are the ones I most commonly see.

Since you said your reflections were flickering, you might also want to look at their quality settings. For Screen Space Reflections you can find those in the Post Processing volume. There is a slider, bump it up to 4 for best results.

Hope that helps.

1 Like

318846-ezgifcom-video-to-gif1.gif

This is simple metallic material with roughness 0.1 -0.2. The more the roughness, the better results, but I’d like my material to be reflective. Near the object everything is pretty ok, but from longer distance I have those kind of issues… No Post Process Volume, TAA

Hello,

****** HERE’S FLICKERING FIX *********************

Official 4.25 and 4.26 having some glitches in calculations, namely TemporalAAHistory structure was not filled out correctly

Here’s the only solution that will surely fix for both 4.25 and 4.26 versions (building from the source and fixing engine glitch), since 4.25 will not have any more updates and 4.26 also has the same issue:

  1. get Unreal 4.25 source, following link is a step by step instructions on how to get the source (no need for the building until you change buggy scripts, just when you get 4.25 source unzipped from git, run Setup.bat, after that run GenerateProjectFiles.bat ): Building Unreal Engine 4 (UE4) From Source Code / GitHub - YouTube

  2. change this 2 scripts as explained in the below link, and finally, build the source
    https://github.com/EpicGames/UnrealE...48f5a38dfb53ea

  3. compile your project from source (in the following link, instructions are around 8.50 min): Building Unreal Engine 4 (UE4) From Source Code / GitHub - YouTube


Enjoy again your UE4.25/26

Cheers,

Hi! The Github link doesn’t work! Error 404.

Hello you should connect your github account with Epic account and you’ll get access to it.

Found the right one:

https://github.com/EpicGames/UnrealEngine/commit/c434673c015ccf8be5450d11a248f5a38dfb53ea

So the flickering is “normal” and will not happen in the game when it’s exported? Or i should fix this glitch before exporting the game?