Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Generate UVs for strands in order to work with HDRP Physical Hair Shader (HDRPSamples/PhysicalHair_Ribbon) #79

Open
evanvlane opened this issue Feb 15, 2024 · 1 comment
Labels
enhancement New feature or request

Comments

@evanvlane
Copy link

I'm trying to get the material shading of this project working well. Ideally I'd like to use the strand-based HDRP hair shader that was recently released, however it expects UV maps from the root to the tip covering the whole UV space (laid out as in the attached image).

Is there a way to get this package to work well with the hair shader I listed without significant modification?

There isn't a lot of documentation for the package, but does UV Resolve in the Hair Asset settings help with this?

If not, is there a way to add UV generation to the HairInstanceBuilder class? Somewhere in BuildMeshStrips could probably add UV info. I'm not sure exactly how to do this, but I could give it a shot if you have any tips.

image

@fuglsang fuglsang added the enhancement New feature or request label Apr 16, 2024
@fuglsang
Copy link
Collaborator

Hi. This will be added soon, pending some additional refactoring work on inputs/outputs of the HairVertex node.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants