Hide part of a sprite that is under another sprite(or part of UI under gameobject). Help with shaders - Questions & Answers - Unity Discussions

Por um escritor misterioso

Descrição

Hello everyone. I want to make one game object to become partially invisible when its under another game object. I use Unity 5.2. For example. I have two sprites: car A and car B. When car B is over car A, both of them must become transparent in the parts they intersect. Here is what I want: I googled and found some similiar questions. But, unfortunately, most of them are outdated. The only one working almost fine is here: Sprite masking - Unity Answers BUT! When I try to use this shader(s
Hide part of a sprite that is under another sprite(or part of UI under  gameobject). Help with shaders - Questions & Answers - Unity Discussions
Custom UI Shaders in HDRP — UpRoom Games
Hide part of a sprite that is under another sprite(or part of UI under  gameobject). Help with shaders - Questions & Answers - Unity Discussions
How to mask a UI.RawImage in Unity? - Stack Overflow
Hide part of a sprite that is under another sprite(or part of UI under  gameobject). Help with shaders - Questions & Answers - Unity Discussions
unity - How can I make a Soft Outline Shader? - Game Development Stack Exchange
Hide part of a sprite that is under another sprite(or part of UI under  gameobject). Help with shaders - Questions & Answers - Unity Discussions
Unreal Engine for Unity Developers
Hide part of a sprite that is under another sprite(or part of UI under  gameobject). Help with shaders - Questions & Answers - Unity Discussions
unity - Sprite with shadows in both sides - Game Development Stack Exchange
Hide part of a sprite that is under another sprite(or part of UI under  gameobject). Help with shaders - Questions & Answers - Unity Discussions
c# - How do I detect if a sprite is overlapping any background sprite? - Stack Overflow
Hide part of a sprite that is under another sprite(or part of UI under  gameobject). Help with shaders - Questions & Answers - Unity Discussions
Released] Sprite Mask - masking system for Unity Sprite - Unity Forum
Hide part of a sprite that is under another sprite(or part of UI under  gameobject). Help with shaders - Questions & Answers - Unity Discussions
Released] Sprite Mask - masking system for Unity Sprite
Hide part of a sprite that is under another sprite(or part of UI under  gameobject). Help with shaders - Questions & Answers - Unity Discussions
unity - How to place object on top of ui? - Game Development Stack Exchange
Hide part of a sprite that is under another sprite(or part of UI under  gameobject). Help with shaders - Questions & Answers - Unity Discussions
shaders - Unity - Part of the sprite is covered in shadow - Game Development Stack Exchange
de por adulto (o preço varia de acordo com o tamanho do grupo)