- Home /
Unity2D Decals that dodge transparency on given layer?
I'm developing a 2D and would like to have blood decals on the foreground layer of my game, but only on pixels that have an alpha > 0. So say, if there's an edge of a building and a decal gets placed on the edge, the half that was on the transparent part of the image wouldn't be rendered. Is there a way to do this?
Comment
Your answer
Follow this Question
Related Questions
Has anyone managed to make a decal shader with shadow support? 1 Answer
Change material GameObject locally 1 Answer
Fading off texture and multiple instances 0 Answers
Decals in Unity 5? 0 Answers
Decal stretching on rotated planes 1 Answer