Transparency is handled differently to opaque rendering in game engines. Chapter 8 of my shader books shows you how to use transparency and alpha clipping for various effects.
Grab the book on Amazon: https://www.amazon.co.uk/Building-Qua...
Grab the book directly from my publisher: https://link.springer.com/book/10.100...