RedcrowProd
Member
|
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
|
|
07-11-2020 06:30 AM |
|
Esenthel
Administrator
|
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 |
|
RedcrowProd
Member
|
RE: Grass shader offset question
okay thanks, will think about it, obviously i dont want to spend 10 hours into that right now
|
|
07-12-2020 06:19 AM |
|
RedcrowProd
Member
|
RE: Grass shader offset question
Me again !
Bumping this post because i do now have 10 hours to spend on this
i am trying to learn how to slowly modify the engine shaders, and i want to start with the grass one.
is there any tip of where i should look at and maybe some documentation ?
Thanks!
(This post was last modified: 12-02-2021 01:07 AM by RedcrowProd.)
|
|
12-02-2021 01:06 AM |
|
Esenthel
Administrator
|
RE: Grass shader offset question
|
|
12-02-2021 05:20 AM |
|
RedcrowProd
Member
|
RE: Grass shader offset question
thanks for the link ! exactly what i was looking for
|
|
12-02-2021 05:15 PM |
|