com.unity.demoteam.hair icon indicating copy to clipboard operation
com.unity.demoteam.hair copied to clipboard

Render strands as view facing triangle strips - how to use UV and apply textures?

Open pauldrummond opened this issue 2 years ago • 1 comments

When rendering strands as view facing triangle strips how can I apply textures to these? The HairVertex node provides 'strandUV' but using this to apply a texture doesn't give the expected result. For example, I'd like to apply alpha to the strands, fading them out at the end. I hoped a vertical gradient texture would do the trick, but it didn't work.

What UV layout do the strands use, and how do we get textures onto them?

Any help is much appreciated.

pauldrummond avatar Sep 15 '22 11:09 pauldrummond

Labeling as documentation request.

fuglsang avatar Nov 29 '22 13:11 fuglsang