Search Unity

Question Sample point position after vertex displacement

Discussion in 'Shader Graph' started by Starboxx, Mar 8, 2021.

  1. Starboxx

    Starboxx

    Joined:
    Jun 30, 2017
    Posts:
    3
    Hi guys !
    I have a simple URP shader made with shader graph that does some vertex displacement on a subdivided plane based on a texture. It also does a simple tween of the texture to animate.
    Then, i have a C# script that needs to know the y position of a point on the plane after displacement. Is there any way to do that?

    Thank-you !