unity – How to change the color of the overlapped object when it overlaps with an transparent object


i use 2019.4.32f ,unity shader graph in urp

I was refered to that url.

https://forum.unity.com/threads/highlight-intersection-shader.731177/

i made that

With reference to it, intersection applied in opaque succeeded in implementation.

but it not work in transparent object.

it is not transparent

How to change the color of the overlapped object when it overlaps with an transparent object?

The exact look I want to implement is this urlis.
However, this url does not change the way it works for the object, but only renders less than that value (only down the specific y and x axes) through a specific plane.
I wonder if it is possible to render only the shape of the sphere in a different color like the first url.

Pages I referenced

https://docs.unity3d.com/Packages/c…ures/how-to-custom-effect-render-objects.html



Source link

More To Explore

Share on facebook
Share on twitter
Share on linkedin
Share on email