I have a basic click pointer for my game, basically what I need is that part of that pointer get blocked by another 3D object, it should render that part on top of it with 50% transparent.
For example, this screenshot:
50% of the blue pointer is covered by the stairs, what I want is to show that 50% part as 50% transparent to complete it.
I have no issues getting a paid shader from the assets store, not sure how to search for a shader like that. As I have no experience writing shaders.
What the shader need to do is something really basic
1- Draw the clicked pointer as it would usually normal with 50% opacity
2- Draw it second time without a Z Test (or with) so that it’s always on top, but that second time it will be drawn with 50% opacity of it’s original opacity
so, when the two appear on top of each other, I have a higher opacity pointer, when one disappear or part of it, I have a 50% opacity pointer!