gBuffer doesn't handle thin instances properly

Apparently thin instances still have lingering issues with the depth buffer in 5.0.0-alpha.58:

Grey is a normal mesh, the textured rocks are thin instances. The problem only happens with the gBuffer textures, but happens to all of them (normal, position). The DepthRenderer texture is rendered properly:

Which leads to the lovely modern art artifacts in the picture, which unfortunately are not what I’m looking for :slight_smile:

1 Like

Ah, sorry. No PG, but here’s the application: Laje de Santos em Realidade Virtual (rotate the camera with the mouse, the initial pose is looking straight up).

@Evgeni_Popov is the great mind behind thinInstances and will have a look into it :slight_smile:

Could you create a tiny repro in the playground ? even if not this one at least it could help @Evgeni_Popov

1 Like

This should fix the problem:

4 Likes