Object flicker, Z-fighting occurs

This object appears to flicker in the sandbox, but it is normal in Sketchfab. I adjusted zOffset but couldn’t fix the object flickering. Where does the reason lie?

sandbox:

Hard to say without the file, but you may check alpha mode settings of the flickering mesh material.

I have sent the link, Sketchfab can be downloaded for free

Just a thought, but the model is quite small. This is probably causing some depth precision issues.
image

Babylon.js Playground (babylonjs.com)

1 Like

The model has overlapping, coplanar meshes. It flickers in Sketchfab also, just less.

2 Likes

In the GLB file, there are 3 objects of the same model being rendered at the same time (object 6, 7 and 9):

Choose from 7 or 9.

You can better see here when each is unparented and translated

This might be due to the automatic conversion on sketchfab (fbx to glb), and/or animations not in perfect sync between all 3 objects.

Anyway just choose 7 or 9 and it’ll be fine.

3 Likes

WoW. I keep being amazed how people (like you!) are committed to help others (against all odds). You actually took the time to investigate all this WITHOUT A PG ? :stuck_out_tongue: You clearly are on the bright side of the force :angel: :pray::joy:

1 Like

They are great and dedicated to helping us

1 Like

I have also found the reason, Sketchfab does handle models very well, which is exactly what I need to learn