I want to preface this by saying that I am new to Amplify, and shaders in general.
I have managed to get the wavy look of the grass right, but their animation is in sync regardless of where they are positioned. How could I add some randomness to their movement? Better yet, is there a way to set it up with a noise texture so that certain areas of the map have more/less wind and influence the amplitude of the grass accordingly?
Amplify Node:
https://imgur.com/a/JSHtnEl
Gif:
https://imgur.com/BDWosGa
Grass wind effect problem
Re: Grass wind effect problem
Hi!
In this video, for randomise used word position maybe it help?
https://www.youtube.com/watch?v=uBb1F02peto&t=227s
In this video, for randomise used word position maybe it help?
https://www.youtube.com/watch?v=uBb1F02peto&t=227s
- Amplify_Borba
- Posts: 1239
- Joined: Mon Jul 24, 2017 9:50 am
Re: Grass wind effect problem
Hello, thank you for getting in touch and for your support!
The shared video is a great find, and as a flexible alternative to the method illustrated there you can also create your own custom effect to simulate wind movement, by using a wave function that generates some pseudo random values based on the vertex position of your vertices, and that also accepts a time variable. Then it would be a matter of using vertex color to filter what you want or don't want to move ( ie: paint the base vertices black so they don't move with the function ).
Feel free to check out the Sin / Sin Time nodes, which can be useful for this sort of effects, as you can see in this example tutorial video.
There's also a nice tutorial on low poly trees that has its own wind implementation here.
The shared video is a great find, and as a flexible alternative to the method illustrated there you can also create your own custom effect to simulate wind movement, by using a wave function that generates some pseudo random values based on the vertex position of your vertices, and that also accepts a time variable. Then it would be a matter of using vertex color to filter what you want or don't want to move ( ie: paint the base vertices black so they don't move with the function ).
Feel free to check out the Sin / Sin Time nodes, which can be useful for this sort of effects, as you can see in this example tutorial video.
There's also a nice tutorial on low poly trees that has its own wind implementation here.
Customer Relations at Amplify Creations
Learn more about our offering: Amplify Creations Products
Amplify Shader Editor won the Asset Store Best Tool Award - Thank you for your support!
Learn more about our offering: Amplify Creations Products
Amplify Shader Editor won the Asset Store Best Tool Award - Thank you for your support!