I added this cool wind gust shader to my game!
Eventually I’m going to have gameplay mechanics where wind pushes the player, which can boost (or limit) the player’s jump distance. For now I just focused on the visuals for this mechanic and I still need to implement the physics.
To make the visual effect, I intially tried a unity particle system based approach. This looked really bad however so I made a shader for the wind instead. Basically the shader scrolls the X UV offset on a gradient noise node. The tiling of the gradient noise is super stretched out so it looks like streaks of wind instead of dots. It was simple to make and turned out pretty good! Now time to implement the physics…
Comments 3
THIS LOOKS SO HYPE
Looks really cool especially with the waving flags in the background and foreground.
Reminds me of the Howling Cliffs in HK. If it is anything like Hollow Knight, I am going to love it!
Sign in to join the conversation.