Search The Query
Search
  • Home
  • Uncategorized
  • Hair Animation based on wind Direction for Godot Engine by @antourenein
Thread Hair Animation based on wind Direction for Godot Engine

Hair Animation based on wind Direction for Godot Engine by @antourenein

Very interesting twitter thread with an overview on how to perform Hair Animation based on wind Direction for Godot Engine.

Original Thread Hair Animation based on wind Direction for Godot Engine

Edited Thread Hair Animation based on wind Direction for Godot Engine

Some people seemed interested in a breakdown of this little system, so here’s a thread on how it works. 🧵

#GodotEngine #gamedev #indiedev

There is some preparation needed on the hair mesh for the in-engine hair shader, so, first I vertex painted the tips of the strands that come out of the solid base in white, while leaving the rest black.

Then I unwrapped a second set of UVs, with a small cut on a part of the surface that is usually hidden. It looks really messy and distorted, but it’s fine for this purpose.

I also have a rig for the hair, along with the character rig, so I posed the extremes of each wind direction in one frame and made them into separate animations.

After this, I animated a bit of wind intensity by hand in blender. This will later be blended with a more randomized vertex shader animation.

May be interesting  Game Design Tips & Secrets

In Godot, I created a vertex shader that runs a noise texture through the UV2 and multiplies its influence by the vertex colors, so it only offsets the tip vertices.

Then it was just a matter of creating an AnimationTree and blend a BlendSpace2D containing the direction animations with the intensity animation and adjust the shader material values.

Note: remember to filter the animation blending to the hair bones only!

And there you have it! An interestingly functional solid hair mesh.

For those who are curious, this is Claire, a character from an original game I am creating. Her design is not final right now, but if you are interested in seeing more, please leave a follow!

Originally tweeted by antourenein 🍇 (@antourenein) on September 1, 2022.

For More twitter threads Click below

16 Comments
  • 創建個人帳戶 says:
    Your comment is awaiting moderation. This is a preview; your comment will be visible after it has been approved.
    Your point of view caught my eye and was very interesting. Thanks. I have a question for you. https://accounts.binance.com/zh-TC/register?ref=WTOZ531Y
  • Тегн акаунт жасау says:
    Your comment is awaiting moderation. This is a preview; your comment will be visible after it has been approved.
    Your point of view caught my eye and was very interesting. Thanks. I have a question for you. https://accounts.binance.com/kz/register?ref=W0BCQMF1
  • binance odkazov'y bonus says:
    Your comment is awaiting moderation. This is a preview; your comment will be visible after it has been approved.
    Can you be more specific about the content of your article? After reading it, I still have some doubts. Hope you can help me.
  • b"asta binance h"anvisningskod says:
    Your comment is awaiting moderation. This is a preview; your comment will be visible after it has been approved.
    Thanks for sharing. I read many of your blog posts, cool, your blog is very good.
  • binance says:
    Your comment is awaiting moderation. This is a preview; your comment will be visible after it has been approved.
    Your point of view caught my eye and was very interesting. Thanks. I have a question for you.
  • binance says:
    Your comment is awaiting moderation. This is a preview; your comment will be visible after it has been approved.
    Can you be more specific about the content of your article? After reading it, I still have some doubts. Hope you can help me. https://accounts.binance.info/register?ref=P9L9FQKY
  • 🔓 Email: TRANSACTION 1.419454 BTC. Confirm => https://graph.org/Message--04804-03-25?hs=e732494d901c63eab89c7db8228868cf& 🔓 says:
    Your comment is awaiting moderation. This is a preview; your comment will be visible after it has been approved.
    rouhrt
  • 📜 + 1.716339 BTC.GET - https://graph.org/Message--17856-03-25?hs=337f2397b46ecad3c274e3c911921eb6& 📜 says:
    Your comment is awaiting moderation. This is a preview; your comment will be visible after it has been approved.
    cxc2di
  • binance open account says:
    Your comment is awaiting moderation. This is a preview; your comment will be visible after it has been approved.
    Thank you for your sharing. I am worried that I lack creative ideas. It is your article that makes me full of hope. Thank you. But, I have a question, can you help me?
  • 📑 + 1.552507 BTC.NEXT - https://graph.org/Message--0484-03-25?hs=337f2397b46ecad3c274e3c911921eb6& 📑 says:
    Your comment is awaiting moderation. This is a preview; your comment will be visible after it has been approved.
    laqph5
  • 📋 Ticket: Operation 1.706103 BTC. Continue =>> https://graph.org/Message--04804-03-25?hs=337f2397b46ecad3c274e3c911921eb6& 📋 says:
    Your comment is awaiting moderation. This is a preview; your comment will be visible after it has been approved.
    iafme1
  • sabung ayam online says:
    Your comment is awaiting moderation. This is a preview; your comment will be visible after it has been approved.
    Hello! Would you mind if I share your blog with my twitter group? There’s a lot of folks that I think would really enjoy your content. Please let me know. Many thanks
  • HABANERO88 says:
    Your comment is awaiting moderation. This is a preview; your comment will be visible after it has been approved.
    Hi, I do think this is an excellent site. I stumbledupon it 😉 I will return yet again since I bookmarked it. Money and freedom is the greatest way to change, may you be rich and continue to help other people.
  • Www.Cqcici.Com says:
    Your comment is awaiting moderation. This is a preview; your comment will be visible after it has been approved.
    Hi, i read your blog from time to time and i own a similar one and i was just curious if you get a lot of spam responses? If so how do you reduce it, any plugin or anything you can advise? I get so much lately it’s driving me crazy so any support is very much appreciated. http://www.cqcici.com/comment/html/?485106.html
  • 📒 Ticket- + 1.240361 BTC. Receive >>> https://graph.org/Ticket--58146-05-02?hs=337f2397b46ecad3c274e3c911921eb6& 📒 says:
    Your comment is awaiting moderation. This is a preview; your comment will be visible after it has been approved.
    99qkot
  • ✉ Reminder- TRANSACTION 1.266794 BTC. Next => https://graph.org/Ticket--58146-05-02?hs=337f2397b46ecad3c274e3c911921eb6& ✉ says:
    Your comment is awaiting moderation. This is a preview; your comment will be visible after it has been approved.
    2i45dg
  • Leave a Reply

    Your email address will not be published. Required fields are marked *

    Index