Custom AR Plane shader with Shader Graph
I want to create a shader for AR planes as in AR Core Elements app. Screenshots below:
The effect is that when you move an object, only the space below the object is displayed. The place under the object also smoothly dims. I achieved the desired effect with Shader Graph, however I don’t know how to implement moving this spot to the camera direction.
Shader Graph: shader graph image
Now I need to tie a spot under the object to the viewport center. Any ideas. I will be grateful) My shader.
Comment