Hi, I'm working with some shaders, and i need to integrate some 3d models with 2d sprites. I made a custom shader for a 3d model and that one is working fine, and another similar shader for 2d planes, but when I'm trying to add a transparent pass, it never works at the second or further lights, as it excludes others pixel behind the plane, like in this image(
https://gyazo.com/00a1c50688996342203eb1968107dfcb).
This only happens with two or more lights. When use a single directional light the transparency works well.
Anyone knows how to fix that?