Hello ,
Please i need to remove those black border from Gui image , i tried thickness = 0 but it isnt work . Any help please ?
Thanks a lot
Hello ,
Please i need to remove those black border from Gui image , i tried thickness = 0 but it isnt work . Any help please ?
Thanks a lot
pinging @msDestiny14
thickness 0 should be working. Do you have a playground you can share so I can take a look.
I faced the same problem. Gray frame around the image. Help me solve it please.
Looking into that
Having a look at the border aspect :

It looks a lot like either an AntiAliasing issue, either a texture interpolation issue (in Blender for example, it’s a common behavior when texture interpolation is set to linear, while default behavior on borders is using Zero-Padding, the alpha ends up black on borders of a texture plane)
Just in case it helps ![]()
++
Tricotou
Changing the sampling mode of the ADT to nearest solves this, but it is currently not possible. This PR will solve it - Allow changing sampling mode when creating GUI for mesh
@RaananW, did you try clamping instead of using nearest as nearest might not fit in some scenario ?
Yes, this sadly didn’t help. This occurs only when attaching the texture to a mesh (doesn’t happen in fullscreen), and happens only when calling canvasContext.drawImage. Nothing we set before or after influences that. I will invest a bit more time trying to understand why setting mode to nearest actually works, but for now this is the only viable solution i could find.