Hair Info Node "Length" Socket

I am currently expanding the Hair Info node with the length attribute, which is allready working like a charm in cycles but not in eevee and im kinda lost. I cant seems to find the point in code where the attribute values get passed to the eevee shaders… If anyone got an idea on this it would be highly appreciated :smiley:
My current guess is that it happens somewhere in the draw module.
The eevee shader is allready compiling fine i “just” need to pass the data.

Here is the diff with the working cycles node ⚙ D10481 Hair Info Length Attribute


At this point eevee and cycles implementation both work. We are still polishing it to the point that it can be merged but its looking good! :smiley:


Awesome, thank you for this contribution! It will definitely be helpful.

1 Like