I have a problem with my object and the pngs I apply to it and I don’t understand why.
As you can see when I apply the png on my object there are black borders on the sides, on my png there are no black edges, so I don’t understand why there are any on my object.
Looks like a UV problem on the model you are using. The texture you are using has transparent borders so if the UV map is not correct on the model, it’s going to look wrong. At a guess, the UV is including some part of the image transparent borders on the texture
You will either have to change the texture in an image editor or the model in a 3d modelling package
The issue is not to do with PlayCanvas but the model and textures. You could adjust it on the material by changing the UV scale if you want a quick fix? Or just get rid of the borders on the texture.
Sorry to re-open the topic, but there is something I don’t understand, why when I upload my pngs, it transforms the transparent borders into a black border?
Because all the pngs that I use for my project have transparent borders, since I use a script to extract these pngs from pdf files, how can I make Playcanvas take these borders as transparent borders and not as black borders?
Because suddenly I have the same problem on my 6 models, with each png that I upload there are black borders on my models