-
Hello! |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 2 replies
-
looking through the doc, i guess i need to use the core::Program struct? |
Beta Was this translation helpful? Give feedback.
-
That's a good question, I have several suggestions:
|
Beta Was this translation helpful? Give feedback.
That's a good question, I have several suggestions:
Geometry
type, for inspiration, you can take a look at the water implementation in water.rs and water.vert which uses exactly this approach to deform the waves. If you only want to use thecore
module, then, yes, you need to create aProgram
which deforms the vertex positions in the vertex shader.