Rendering curves with the Hair Model

   1110   0   1
User Avatar
Member
1 posts
Joined: Nov. 2011
Offline
Hi,

I have a large number of curves that I am rendering with the Hair Model, and want to make sure I add all the needed attributes to my curves for it to render properly. So far I have added no attrs and it is rendering, and looking somewhat OK. Looking at the shader it seems that all that I really should set is N & width(not worried about setting colors).

What I would like to ask is…

Am I missing any attrs that need to be set for good hair shading?

What is the best way to calc N? Maybe a cross product using hair tangent and the direction from the camera?
  • Quick Links