Giter Club home page Giter Club logo

Comments (5)

pauldrummond avatar pauldrummond commented on September 26, 2024 1

I tried something similar using a texture for the colours and was able to use the rootUV property in Shader Graph. How does your shader work? Is the colour applied to the vertices, or is it generated at the fragment stage? If it's a vertex colour it might be possible to pass it to the fragment stage as a custom interpolator, then use it there.

Screenshot 2022-10-24 at 5 31 45 pm

from com.unity.demoteam.hair.

DanielaAuroch avatar DanielaAuroch commented on September 26, 2024

Thank you, extremely simple and straightforward! This does work for 1 object with 1 material. The final object I'm working with has several materials targeting certain UVs so it doesn't work correctly with this solution.
I'll have a think about how I'm approaching things to see if I really need several materials first. If I do still need them, I'll update here, otherwise this is what I was looking for so thanks again 😄

from com.unity.demoteam.hair.

pauldrummond avatar pauldrummond commented on September 26, 2024

Glad I could help. The package really needs some documentation and demo scenes. I'm worried it's going to be abandoned.

from com.unity.demoteam.hair.

pauldrummond avatar pauldrummond commented on September 26, 2024

A hair tutorial has been added to Unity Learn. Hopefully this repository will be updated soon.

from com.unity.demoteam.hair.

fuglsang avatar fuglsang commented on September 26, 2024

Labeling as documentation request. :)

from com.unity.demoteam.hair.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.