Render anime character Eyebrows over Hair (not solved)

:information_source: Attention Topic was automatically imported from the old Question2Answer platform.
:bust_in_silhouette: Asked By icqqq

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!!

:bust_in_silhouette: Reply From: hinasis

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?

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

Thank you.

icqqq | 2018-07-18 03:16

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.

hinasis | 2018-07-18 17:01

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.

icqqq | 2018-07-19 03:56

:bust_in_silhouette: Reply From: manipulatehair

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

:bust_in_silhouette: Reply From: yrtv

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.