Weird graphics glitch

What could the causing the following glitch/artifact? (Video demo at the bottom of the post)

The scene is composed of modular pieces. No idea if that might be a probable cause.

Unlit view:

Wireframe:

I don’t even know what to look up, tbh. I’m not using any anti-aliasing, but I tried different settings and they had no effect. GI is set to Lumin but different settings had no effect.

2024-09-14 22-09-05.mkv (1.1 MB)

1 Like

Modular pieces is good.

This is a common problem. You’re moving the camera faster than the system can decide to draw the meshes.

The easiest way around it, is to put the whole scene in a black box :slight_smile:

( literally just scale some cubes up and surround the whole scene )

Thanks for the suggestion; However, it won’t work in my case since the player is meant to be able to walk outside. It’s not an interior-only level but more of a sandbox/small open world.

1 Like

You can drop the box once the player gets outside. But I don’t think you’ll be able to fix this without it.

It only matters if the setup is like you have it here ( dark inside, light outside ).

Oddly, converting the modular pieces (the whole building, minus the doors since those are Actors) into a single static mesh (ActorConvert Actors to Static Mesh) fixes the problem.

Constructing the buildings using the modular kit and then converting them to static meshes might be a viable solution. Not sure if it would cause any problems down the road, though. Specifically with culling and LODs.

1 Like

Yes, that will fix it, because no culling is happening, because there’s only one mesh.

The problem down the road is, the engine has to draw everything, even though most of it is not seen by the camera.

Yeah, that makes sense.

Breaking buildings up into smaller pieces, but not as small as individual blocks, might be a decent solution; like making the corridor a static mesh and individual rooms be their own meshes, so that if a room is out of view it will be culled out but once it’s brought into view the whole thing gets rendered instead of the “patches” that the modular pieces create.

1 Like