Text texture got black border after changed it

Hi there, as for my recent project, I import a babylon file and its textures. When I changed one of the texture(eg:texting or drawing a line), the edge of the text in that texture trun to be black like this

Following is how the texture looks like before changed

That will be hard to help without a repro in the Playground.

I think you are using some blending. In that case, try ALPHA_PREMULTIPLIED or ALPHA_PREMULTIPLIED_PORTERDUFF.