Access vertex position in materials

Is it possible to get an answer to the original question as well?
I would like to access a specific vertex on the tesselated mesh.
Or isolate a set of vertices.

Something similar to what vertex paint does/provides, but done via the shader/hlsl instead.
Let’s say for example sake that the vertex is always the 10 vertex to the right and the 10 vertex from the top.
How would I go about applying a x10 to the vertex normal G of that specific vertex within the material?

I can do this for the area with world position. But its not always the 10x10 vertex that gets shifted.

1 Like