when i take a real picture using a camera i can take that picture into photoshop and remove the back ground ,but after exporting it as jpeg or nay other picture format and import into
unity (AS A TEXTURE) there is a white background which is not good for leaf.
SO PLEASE COULD SOMEONE TELL ME HOW TO IMPORT IT INTO A TEXTURE WITHOUT THE WHITE BACKGROUND.PLEASE!!!
If the “White Background” is empty space in the paint package(totally transparent) then you need to look at the Texture Import settings in Unity. Select this texture in the Project Window, now look at the Import settings in the Inspector Window, set Alpha Is Transparent to true. Now use a Material that has a Transparent shader to display this correctly.
If the “White Background” is actually a white BG in your paint package then you need to select it all and delete it, which should make it transparent as long as you save it in the right file format.
JPEG doesn’t store an alpha channel. I’d recommend saving out of Photoshop in the TIFF format:
If you’re on Windows you can preview the texture with Windows Photo Viewer to make sure the background is transparent.
If you have confirmed this, and Unity is still displaying a white background, then @MrSoad is absolutely correct - you need to check your import settings.