'Vegetation/Grass with wind' shader

User avatar
Location: Hell

PostMon Nov 06, 2017 2:34 pm

I'd like to share a quick little shader I made.

It's a grass shader where wind is controlled by a panned 'noise texture' projected from above (world X and Z).
The strength of the 'wind' is also affected by the vertex colors of the mesh if that is available.

(old) OneDrive link: https://1drv.ms/u/s!AmdWbCdEmFPhsh02d3qkgNOUBUmq
(old) Node tree: https://1drv.ms/i/s!AmdWbCdEmFPhsh7qOArUkzbaqfH9
(old) Video of it in action: https://www.youtube.com/watch?v=rss74OpTuEk

I reworked the vertex displacement to only allow one direction (the direction of the wind).
Here is the new version: https://1drv.ms/u/s!AmdWbCdEmFPhsiDAOtU3lUM9TwYY
Note tree: https://1drv.ms/i/s!AmdWbCdEmFPhsh_DYccHUzgxeva3
Video of it in action: https://www.youtube.com/watch?v=kLVH9l8PNbs

Both versions are nice, but the newest one works best with lone shrubbery compared to the previous version.

Return to “Guides & Tutorials”

Who is online

Online users: No registered users and 1 guest