About Store Forum Documentation Contact
Donations:
167$/mo



Post Reply 
Grass shader offset question
Author Message
RedcrowProd Offline
Bronze Supporter

Post: #1
Grass shader offset question
Hello,
I am trying to archieve some nice look when i have my map and have a storm hitting !

Now my question is i want to make it really windy and move all together at the same time in the same direction.

How can i achieve that ? The bendgrass function is in the shader and cant be easily accessed ? Is there a way someone can think without being too much work/ rebuild the engine ?

Thanks as always smile
07-11-2020 06:30 AM
Find all posts by this user Quote this message in a reply
Esenthel Online
Administrator

Post: #2
RE: Grass shader offset question
I think the best way would be to customize the shader / make your own version - not easy.
Another option is to just rotate the entire matrix that you pass for mesh draw (but that rotates the grass mesh fully), easy but may not look as good as it can.
07-12-2020 04:16 AM
Find all posts by this user Quote this message in a reply
RedcrowProd Offline
Bronze Supporter

Post: #3
RE: Grass shader offset question
okay thanks, will think about it, obviously i dont want to spend 10 hours into that right now smile
07-12-2020 06:19 AM
Find all posts by this user Quote this message in a reply
Post Reply