i have an image were some parts are invisible but when i import it to unity white edges are added, its png file
any ideas? i plan to use the image in a plane for the menu
i have an image were some parts are invisible but when i import it to unity white edges are added, its png file
any ideas? i plan to use the image in a plane for the menu
It might be a problem with the image itself, not Unity.
You might have to edit it in another program, or if you made the image yourself, check the “Premultiply” option, if there is one.
What I do is drag the image in unity then make a plane in the scene
Then drag the image over the plane and that’s what happens
The image itself seems fine I think
Post a screenshot so I can know for sure
but to me it sounds like you have an image you want transparency on, and the “white” is added because you are using a diffuse shader )the default) and in order for you to view transparency on your image you need to pick a shader which supports it. So select one from particles or transparent section. Hope that fixes your problem.
Hello, thanks that fixed the problem! :o
I realize this thread is old, but it would be helpful to know more about the solution. I was having a similar problem. My PNG texture was showing the transparent space as white. I have played with the import setting and the shaders and here is my solution in case anyone stumbles upon this:
When creating your own image try to keep the size as a power of 2 (64, 128, 256, etc)
After importing my image texture click it to modify the import setting in the inspector. The settings I used are:
texture type = advanced,
Non power of 2 = none,
cubemap = none
Mipmaps = none
wrap = clamp
filter mode = point
max size = image size or more
Now use the appropriate shader. I found for a PNG with transparent space the mobile>particle shaders did the trick.