Monday, December 5, 2022
HomeGame Developmentunity - Get vertices again from shadergraph?

unity – Get vertices again from shadergraph?


I’m making waterwaves in shadergraph and that i wish to make a ship that can bop round on these waves, however to try this i have to get these vertices again into the CPU.
I’m unable to copy these waves within the CPU as it isn’t based mostly on world place within the shader.

Is there a means of getting the vertices again from the shader or is making the waves based mostly on world place my solely choice. Additionally as a result of i have no idea the place the time node will get its worth.
I determine that it’s higher to get the vertices again to the CPU than replicating it in order that i would not have to alter the code on either side when altering one thing. The mesh with waves is sort of small.

If there’s a higher methodology to do that, that might be drastically appreciated.
I would not have quite a lot of expertise in Unity.

RELATED ARTICLES

LEAVE A REPLY

Please enter your comment!
Please enter your name here

- Advertisment -
Google search engine

Most Popular

Recent Comments