#Hey, could someone help me make a shader

1 messages · Page 1 of 1 (latest)

topaz bay
#

Here I'll send my shader for you to reference, it works a little differently as I use a specific wind value which determines speed and direction, but you will likely just have it connected directly to your noise gradient

#

This section would be your noise gradient, and would be different to mine likely

#

this just handles the swaying

#

Next it will pass into your displacement mask texture which is a greyscale texture that allows movement based on the texture's darkness

#

this adds the uv back to the movement, not super necessary and can be clearned up but it makes it easy to plug my pixel perfect shader in.

#

then you plug all of that into the UV of your _MainTex texture, this will allow your foliage to sway in the wind based on the displacement texture passed. Hope that helps! Took me around 6 hours to figure this all out so hopefully it saves you some time. 🫂

ancient wraith
#

Thank you very much

topaz bay
#

of course!