0 votes

Dear all, I'd like to achieve this effect :
enter image description here

Which you can see the eyebrow is always render on top of hair.
And the eyebrow will not render on top of the rest of the body.
I don't know how to do it in Godot but I think it should be related to shader.
Does anyone has any idea?
Thank you so much!!

in Engine by (241 points)
edited by

3 Answers

0 votes

Well, if the character is a node, and it have as children nodes the body parts, the eyebrow should be child of the head.

Something like this?
https://imgur.com/a/7SL4cts

by (322 points)

Sorry, I don't get it.
After making eyebrow be child of the head, how can I render the eyebrow over hair?

Thank you.

Well, in my example it's wrong, eyebrows should be after the skull and hair, last in the node list. But my point is that the Last added node, the one with higher Child id, is always drawn on top the previuos one.
It would help if you show us how you are working, we are missing info.

please note that I am making 3d game and the drawing order should be decided by depth but not the hierarchy of node.

Thank you.

0 votes

Another good method to give your anime stuff a hand-drawn look without back face culling.

by (14 points)
0 votes

It's a one of old zelda games from n64? Shader wasn't used back then. Eyebrow is most likely just a plane attached to hair mesh.

by (844 points)
Welcome to Godot Engine Q&A, where you can ask questions and receive answers from other members of the community.

Please make sure to read How to use this Q&A? before posting your first questions.
Social login is currently unavailable. If you've previously logged in with a Facebook or GitHub account, use the I forgot my password link in the login box to set a password for your account. If you still can't access your account, send an email to webmaster@godotengine.org with your username.