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

Enemies hair shader seems to fail with Hair 0.16. #100

Open
methusalah opened this issue Aug 11, 2024 · 3 comments
Open

Enemies hair shader seems to fail with Hair 0.16. #100

methusalah opened this issue Aug 11, 2024 · 3 comments

Comments

@methusalah
Copy link

I used to use the hair shader showcases in the Enemies project with Hair 0.10 without issue.

Once I upgraded to Unity 2022 and Hair 0.16, my old version of the shader complained about "volumeDesc" not existing and failed to render.

Then I updated the shader with the latest one from the project Enemies on the Asset Store. The error was gone but the hair fail to render still (the hair is invisible, not even as the original lines forming a cube).

I also tried to simplify the shader a little, connecting the HairVertex node outputs to the Hair node directly, without success.

Anyone knows where to find a hair shader as advanced as the Enemies one, that works with Hair 0.16?

@fuglsang
Copy link
Collaborator

Thanks, this sounds like a migration issue. Will look into it!

@ldoppertin
Copy link

Hi,
I solved the "volumeDesc" issue in my project by editing HairVolumeUVW.hlsl in the following way (line 12-13):
Screenshot 2024-08-05 165318

@methusalah
Copy link
Author

methusalah commented Aug 14, 2024

Hi, I solved the "volumeDesc" issue in my project by editing HairVolumeUVW.hlsl in the following way (line 12-13):

That's interesting, thanks for sharing

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

No branches or pull requests

3 participants