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
Last updated 26 abril 2025

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

Guide: Future-Proof 2D Render Order

Sprites Become Invisible (SOLVED) - Questions & Answers - Unity Discussions

How To Mask 3D cut-out with mouse using shader [Unity Tutorial]

Unity - Manual: Sprite Renderer

Game Design Problem Machine

How to use sprites in Unity?. What is a Sprite in Unity?, by Ouzani Abd Raouf

Sprite not being rendered on play mode but it appears on the editor. - Questions & Answers - Unity Discussions
Easiest way to have a transparent gameobject hide portion of a sprite by masking it? - Unity Forum

Unity 3D, 2D, VR/AR & Video Engine News, Chats, Questions, Projects & Info

Unity 3D, 2D, VR/AR & Video Engine News, Chats, Questions, Projects & Info

shader - Unity UI mask does not work on children with different Canvas component and particles - Stack Overflow

Unity Sprite Masks

How to have 2 sprite mask interactions on 1 object, where hiding of the object is superior? - Questions & Answers - Unity Discussions

textures - Creating a background image with Photoshop for Unity - Game Development Stack Exchange