简体   繁体   中英

Vertex-Animation in javascript for A-Frame

Is there anything like a formula-deformer animation for A-Frame? The Idea is that I have a geometry in A-Frame and a js-script which makes the geometry wobbble. I tried the noise-shader from the A-Frame-Extras but it breaks the vertexes and doesn t look good and I m not a good coder to do it myself!

I`m happy about any ideas! Cheers, Can

Here is a simpler example that might help https://glitch.com/edit/#!/equinox-rainstorm?path=shaders/grass-vertex.glsl:9:5

Basically using a vertex shader to bend the top half of the mesh.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM