Unity Wind Shader For Low Poly Trees Pack

If you are using my Low Poly Trees Pack or other same color style tree assets in Unity and searching for a wind solution to make tree leaves move, then this Low Poly Wind Shader will do it for you! The shader is not free, it will cost you a few bucks, but I think it’s worth the money.

The developer who made a shader used my Trees Pack for testing. You can see that he is using my demo scenes in the Unity Asset Store page with a shader applied. A few people asked how to add a wind effect to my assets, so here is my recommendation for Low Poly Trees Pack.

Also, it works with Low Poly Vegetation Pack!

This page contains affiliate links. If you purchase a product or a service through one of them, I will receive a small commission (at no additional cost to you). I only recommend products or services that I have personally used and benefitted from personally. Thank you for your support!

Tutorial requirements

  • Unity 2017.4 or newer

Watch tutorial

Setting up and using the shader

Import the shader to Unity

First of all, you need to buy the Low Poly Wind Shader if you don’t have it already. After that, download and import it to your Unity project.

Read Documentation.pdf (optional)

Before you start using the Low Poly Wind Shader, read the Documentation.pdf! You can find it inside a folder "Low Poly Wind".

Now watch this Low Poly Wind - Basic Setup tutorial, to learn how to use a shader and tweak the settings. After you have a basic understanding of it, take a look at the next step.

Apply the shader to your material

So if you are using Low Poly Trees Pack, you need to go inside Low Poly Trees Pack/Tree Assets/Material, select Trees material and apply Low Poly / Low Poly Wind shader to it.

Right away you will see that all of the trees in the scene are moving a little. Default settings will look strange, so we need to change them!

Trunk Colors

Here we have 5 Trunk Colors to use. All asset parts that uses these colors will not move. In our case, we need 13 different colors for all of the tree trunks.

Adding new Trunk Colors

To add new colors, you need to edit Low Poly Wind.shader and WindEditor.cs files. Watch this video tutorial: Low Poly Wind – Adding Extra Trunk Colors to learn how to do it. After watching the video, add 8 more colors, 13 in total.

Set all of the colors like that:

  1. Color FFFFFFFF
  2. Color E8E8E8FF
  3. Color C3C3C3FF
  4. Color 7A7A7AFF
  5. Color 000000FF
  6. Color D33323FF
  7. Color CBB684FF
  8. Color BD9E68FF
  9. Color B8916BFF
  10. Color A57A52FF
  11. Color B89B6BFF
  12. Color E1C39FFF
  13. Color D9B58FFF

Movement tab

Go to the Movement tab and set all of the settings like showed in the image below:

Settings tab

Go to the Settings tab and set all of the settings like showed in the image below:

Color Precision!

To set Color Precision to 0.115 you must edit the Low Poly Wind.shader script and change the default value limit from 0.03 to 1 like showed in the images below:

From this
To this

After that, save the shader and set Color Precision to 0.115.

That’s it! Now all of the Low Poly Trees Pack assets should move like in the video below:

Feel free to tweak all of a Low Poly Wind sahder settings for your liking!

Known issue

Using this method, wind on my tree assets with a snow won’t work correctly! That’s because of a white color used on the trunk and leaves at the same time. So if you use a white Trunk Color(setting) and a Move Trunk(setting), all of the tree parts won’t move the same, and it will look really strange. That’s because leaves use snow(white) and leaves(green) colors.

And if you disable Move Trunk option, all white parts won’t move at all and it will look bad too.

Fix cutting edges

Set Color Precision to 0. Basically the same as not using the Trunk Colors at all, so the whole tree mesh will move the same.

The result is better without cuts between white and green but now the whole tree moves like leaves and it looks really strange.

So this is the limitation of the Low Poly Wind shader using Low Poly Trees Pack!

Thank you for stopping by! :)

If you want to support me, you can do that by subscribing to my YouTube channel or by buying my Game Assets. This helps me to create more content for you guys! Appreciate any support :)

Share This Tutorial
Comments

Recent Posts

Be The First to Know

Join LMHPOLY newsletter and get all the news straight to your inbox: game assets, tutorials, videos, blog posts, products, product updates, and FREE stuff.

I respect your privacy.