I want to set texture with transparency on my tree model but look like it has a problem when displays.
This is the tree model I want to be.
Captured from Blender.
But when I import it to jPCT-ae it seems like the display has a problem.
Here this is an image I have captured from my device.
I have created texture with Texture(..., useAlpha) constructor and called
Object3D.setTransparencyMode(Object3D.TRANSPARENCY_MODE_DEFAULT);
Object3D.setTransparency(20);
And when I didn't call setTransparency method it will show like this.
Please suggest me how can I solve this problem because I can't continue my project with this.
Thanks for your help.
This is the tree model I want to be.
Captured from Blender.
But when I import it to jPCT-ae it seems like the display has a problem.
Here this is an image I have captured from my device.
I have created texture with Texture(..., useAlpha) constructor and called
Object3D.setTransparencyMode(Object3D.TRANSPARENCY_MODE_DEFAULT);
Object3D.setTransparency(20);
And when I didn't call setTransparency method it will show like this.
Please suggest me how can I solve this problem because I can't continue my project with this.
Thanks for your help.