I want to show png image using mesh. it showing by following steps, but behind the sprite that is a png with transparency, is black.
I created a game object and added a mesh to it. then set below buffer as vertices. and then set my png image as tex0.
now it showing but without support transparency and behind of it is black. how can I fix that?
The go.property("foo", resource.texture("my.png")) is a compile time declaration of a resource and is used by our build system to include the references resource into the resource system and game archive when the game is built.