I have an image with a transparent background and I want to texture it on a mesh, the problem is that if I do it , I have a black area around in the background zone.
Do you have any idea on how to play with the blending and the compositing mode in order to obtain the transparency?Here is what I used to create this
Image2D image2D = new Image2D( Image2D.RGB, iImage );
textureLeaf = new Texture2D( image2D );
CompositingMode cm = new CompositingMode();
Mesh cubeMesh = new Mesh(_cubeVertexData, _cubeTriangles2, appearance2);