transparency issue with hair

hey I am having issues with my hair looking proper. looks like its alpha clipping or something not sure what the correct term is but visually it looks off. the texture itself seems to be correct so that doesnt seem to eb the probably no matter how “opaque” I make the texture part versus the transparency portion. take a look at the images I have provided and let me know your thoughts. I am using 2021.2.7f1 with the URP 12.1.2. thoughts on what could be causing this? i just loaded a new URp project and using this to set up my character but this is bothering me. not sure what the cause is. thank you in advance for your assistance.


the hair does not get sorted correctly because it is transparent. HDRP offers more control in terms of how this can be solved (transparent depth pre / post pass)
If I were you I would search for a urp compatible hair shader which manages this issue better than the default shaders.

1 Like

gotcha. I will look around for one.

Hey @sgtkoolaid
Does my answer to this thread help you?

i will look into it and see what happens and update

there is no option to choose depth write in the lit shader I used.

Are you using shadergraph? The option is not exposed on the standard lit shader.

I think I am using shadergraph, and I made a URP lit shader.

which one do I make?

A lit shader graph should be correct. Can you screenshot the graph settings window you are seeing?

i found it actually, i was using an older version of unity. however how to activate the surface options, and inputs?

shader hosted at ImgBB — ImgBB

You need to create texture properties, sample them in the node editor and connect them to the inputs. That way they will show up on materials using that shader. I recommend reading the documentation for a more in depth explanation. Especially the “My fist Shader Graph” section.

ill take a look at it and get back to you. thank you for the documentation.

Anyone fix this issue ?
I read a solution about using dither node to fix this, but how to make 2nd pass in Shader Graph
Hair Transparent shader URP - Unity Forum