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
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
shaders - Unity - Part of the sprite is covered in shadow - 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
Why are my UI elements hidden behind the background? - Questions & Answers - Unity Discussions
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 have 2 sprite mask interactions on 1 object, where hiding of the object is superior? - Questions & Answers - Unity Discussions
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
How do I hide certain sprites in Sprite Select Window 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
Depth of Field post processing effect - is this possible? - Spine Forum
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 Hide Part of Sprite Animation with Sprite Mask
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
hide animated Sprite by code (SpriteRenderer) - Questions & Answers - Unity Discussions
de por adulto (o preço varia de acordo com o tamanho do grupo)