Search - User list
Full Version: Karma Hair- gradient along curve
Root » Houdini Lounge » Karma Hair- gradient along curve
borec
Hi. Is there a way to apply colour gradient along hair strands (from root to tip)with karma hair? It is easy in arnold, but I cant find solution in karma.

Many thanks

Jirka
jsmack
use a karma rayimport or mtlx dot node to import "ray:hituv". This evaluates the parametric coordinates of the hit surface, which gives the parametric T coordinate in the green channel.

XPU seems to evaluate hituv differently. I'm not sure if it's possible to get the curve parametric coordinates in XPU.
borec
Thanks for help. I will try
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Powered by DjangoBB