Just starting with Babylonjs, first question ever from my side there might be more going forward …
When I create two planes with colored edges and merge them - after the merge the colored edges are gone. Is this an expected behavior? If yes - how to work around?
(I don’t want to use sprites or alike in this case, as I want that the text to be rendered)
You have to enable the edge rendere on the merged mesh:
Wasn’t clear from your question however if you wanted to preserve the edge after merging the meshes it’s imposibble. Since you are using a DynamicTexture you can draw the border onto the texture:
Enabling the edge rendering on the merged mesh does the trick and was what I was looking for.
I played a bit with the second option drawing a border onto the texture - however it seems that this does not work in parallel to displaying the text within the dynamic texture. If I would need this (and not being able to figure it out myself) in the future I would raise another question. But nothing for now.