Looks good, but I wonder about limitations and work arounds. For example, how to handle parted hair, long strands that are combed back, bangs, whorl, braids / pony tail, collisions, hats, etc.
a parent hair with interpolated children system, where the few parent hair are use to comb, it allow for better control
a layer system so you can group hair by zone or texture, it allow to better control hairstyle, where each zone can overlap and where you only affect hair within that group
a way to bake data onto a texture and regenerate from that texture (potentially opening to procedural hair generation through generated map or blending).
You can create semi-long hair, I’ll add pony tail and long hair later.
The system is designed with layers, so you can create different hair (ex : with or without hat) and switch between them.
I will add different kind of layers : paint mesh, ponytails, procedural generator…
I’ll also add a collision system
The shaders are compatible with shader model 2, so it should work on all platforms
This is the first release, the system is ready for next steps.
Yes I could do a system to generate procedural hair strand, I’ll think about it.
There’s a layer system, so you can work on different parts independently.
I can’t bake data into textures, there’s a lot of parameters for each strand, but I think I’ll do some procedural generators.
Can make it so normal of the mesh are automatically aligned with the scalp? For example let’s assume you have a hair straight up on the sclap, normally being a plane the normal would be tangential to the sclap, instead the normal should be in the same direction of the plane, which would simulate the effect of the volume of hair, this is used to get tree have nice shading with their leafy planes.
Each hair strand is designed with a curve, I could set the vertices’ normals to the tangent of the curve.
Thank you for this feedback, I’ll try to add a lerp factor for switching the normal.
Edit : I’ve added a ‘Normal Switch’ parameter, the result is really great, a better control of the reflections on the hair cut