Questions about the grass in SimpleTerrain example
Posted: Sat Jan 26, 2019 4:04 pm
I extracted the ApplyGrass file in the SimpleTerrain scene and was trying to understand how it worked but I'm quite confused.
https://youtu.be/-ApIv8w52Zk
Is this how it should work or am I doing something wrong? The Windzone direction doesn't seem to be affecting it very much, for example the grass in the upper left corner never seems to move much however I spin the Windzone?
I'm also wondering how I would use the wind variables in a new scene.
I tried creating a completely new scene, created a Windzone object and applied the material to a test mesh, in that scene nothing happens at all.
I also tried creating a new amplify shader and copying the vertex offset node-chain from the GrassBlades shader and applying to my test mesh in the new scene without any success, nothing happens, it's like the Windzone object doesn't exist in that scene.
Do I need to link the Windzone object to the shader somehow to get it to be affected by it?
Apologies for probably missing something quite simple , any help would be appreciated.
https://youtu.be/-ApIv8w52Zk
Is this how it should work or am I doing something wrong? The Windzone direction doesn't seem to be affecting it very much, for example the grass in the upper left corner never seems to move much however I spin the Windzone?
I'm also wondering how I would use the wind variables in a new scene.
I tried creating a completely new scene, created a Windzone object and applied the material to a test mesh, in that scene nothing happens at all.
I also tried creating a new amplify shader and copying the vertex offset node-chain from the GrassBlades shader and applying to my test mesh in the new scene without any success, nothing happens, it's like the Windzone object doesn't exist in that scene.
Do I need to link the Windzone object to the shader somehow to get it to be affected by it?
Apologies for probably missing something quite simple , any help would be appreciated.