getting the height of the nearest vertices
hello I'm currently working on a boat controller and I have a problem:
my water waves are handled inside of a PBR graph (just noise deforming a plane) and I have a buoyancy script that works based on the height of the nearest vertices height, however, I do not know how to get the nearest vertice from the PBR graph-based water plane and to get the height of these vertices. +(one of my problems is that the individual vertices positions don't seem to move - I don't know how to work around that either (apart from creating a classic shader))
any advice would be greatly appreciated!
Your answer
Follow this Question
Related Questions
How can I create a plane at any given vertex position? 0 Answers
LWRP - Vertex displacement and intersection shader shows artefacts 1 Answer
Shader color to texture 0 Answers
How to Avoid splitting Normals on Geometry with blendshapes 0 Answers
Can a shader extend flat geometry (eg. a plane), giving it depth? 0 Answers