Why this is a line in my model when I joint the model

I am making a 3D game,and I have a problem.

This is my model.

And I use the model to joint like this with script.

You can see that there is so much line in my model.

So,I want to know the reason for this and what should I do for avoiding this problem.

If your project is public, please share it with question in future, it makes much easier to know the context of your problem.

Have you checked your texture, making sure it has no such line at the edge?
Sometimes when you resize images in Photoshop with non-background layer, it will slightly blur edges, and then if you save it as JPEG or any other non-transparent format, it will put white colour under.
That is one option.

Other is that you might have texture that has only some part in it that you refer in UV channel. Due to texture filtering GPU will pick texels from around to make sure texture looks not pixelated and is nicely filtered on different angles, including on distance where it uses lower resolution (mip) textures automatically.
So if your UV is referring only to some area in texture, make sure you add extra padding around pixels - this is general practice when authoring textures.


Thank you,and you are a nice man.

I will share my project next time when I ask a question.

I and my colleague are making a 3D game with playcanvas.

We are from China.

And we think playcanvas is so nice.

Thank you for your contribution!

1 Like