Hi !
First of all, sorry if I made a mistake asking the question here, i’m new to both three.js and this forum
I would like to animate the vertex positions on a plane, using a meshStandardMaterial in order to benefit from it’s built-in PBR features.
This animation I have in mind is very much like this one (except they’re using a ShaderMaterial ) :
I’ve been using the onBeforeCompile method in order to customize the <begin_vertex> ShaderChunk on my meshStandardMaterial but i’m not even sure it’s the right way to do it
Is this the only way of animating vertices on a meshStandardMaterial ?
What ShaderChunk should I be customizing in order to achieve the Sandbox example above ?
Thanks a lot