I’m completely new to shader and was wondering if the following is possible. Let’s say I have a flat mesh which wireframe could looks like a grid. Is it possible to compute/apply a rotation for all vertices based on the angle with the vertice and the middle-bottom point ?
I’m pretty sure I’m using wrong vocabulary here - I attached a sketch which represent what I try to ask The point would be to simulate the mesh is moving/bending by changing the angle base on time. I’m not looking for a very accurate effect, just trying to figure out if something simple/naive like that could be achieve and how ? Could be an entry point in the shader word for me
In the vertex shader you get the position of each vertex and you can modify it according to any rule you can code. Figure out the math and apply it in the vertex shader.