LWC (Large World Coordinates) do not work for First Person Shooters/Driving games. Wobbly rendering artefacts UE5 only (UE4 works fine)

Currently we made two changes in Engine/Source/Runtime/Core/Private/Misc/LargeWorldRenderPosition.cpp:

//#define UE_LWC_RENDER_TILE_SIZE 2097152.0
#define UE_LWC_RENDER_TILE_SIZE 128000.0

//#define UE_LWC_RENDER_MAX_OFFSET (2097152.00.5)
#define UE_LWC_RENDER_MAX_OFFSET (128000.0
0.5)

Our world is only ~20km x 20~km, so we were able to do this. I don’t think this would work in the max 80x80km.

There is still a very faint jitter, which was acceptable for us as you would need stop moving and stare at it pretty hard to see it.

Honestly would be nice to see a WorldSettings slider that let you choose a tile/render offset and spits out the “recommended max world size”.

Also, (I have not tried this yet) you could reduce the UE_LARGE_WORLD_MAX size. It is 87km square by default. As the comment suggests:
// Note: Modifying WORLD_MAX affects UE_LWC_RENDER_TILE_SIZE in Engine\Source\Runtime\Core\Private\Misc\LargeWorldRenderPosition.cpp and may introduce precision issues in shaders using world coordinates.

2 Likes