Hi,
I am displaying an image on a mesh and now I want to feather the hard edges of the image/mesh so that they fade out to transparency (or black if transparency is not an option).
I’m at a loss.
Anyone know how to do this?
All the best,
Hi,
I am displaying an image on a mesh and now I want to feather the hard edges of the image/mesh so that they fade out to transparency (or black if transparency is not an option).
I’m at a loss.
Anyone know how to do this?
All the best,
Either use transparency mask texture, or you may need specific shader. I don’t know what texture you referencing too, so is hard to five give any advise really.
Thanks!
I don’t understand what you mean with “I don’t know what texture you referencing to”, do you mean Texture Type in the image property? If so, it is default and also a Sprite (2D).
But I don’t know if that is what you are asking…
Simply what I mean is, to show us your texture.
Oh, yes the texture is just a simple jpg image, could be any image.
Then just use monochromatic matching texture for transparency, on alpha channel.
If this is a question about “any image” (i.e. you have some application where you have tons of images, like user created content), you could also generate an alpha channel in a shader.
Aha, I will try that.
Yes, this is the case.
How would I go about to do this?
I’m new to Unity, if you could give me a bump in the right direction to create and use this?
@jeppe79 :
Thanks!