hi again,
i'm writing a material shader for the fur. The fur on the mesh is creating by doing "Create->Vray->Add fur to selection". And the objective of this shader is to calculate the diffuse color of the fur by using the normal of the "root surface" on which the fur stands. So i need to get the information about the surface on which the fur stands when coding the material shade function. I dug a lot in sample codes, and i found a variable called "faceList" in geom_hair.cpp, is that the list which contains information about root surfaces? How can I access the root surface from material shade? is that possible?
Thank you
Best regards
kraken
i'm writing a material shader for the fur. The fur on the mesh is creating by doing "Create->Vray->Add fur to selection". And the objective of this shader is to calculate the diffuse color of the fur by using the normal of the "root surface" on which the fur stands. So i need to get the information about the surface on which the fur stands when coding the material shade function. I dug a lot in sample codes, and i found a variable called "faceList" in geom_hair.cpp, is that the list which contains information about root surfaces? How can I access the root surface from material shade? is that possible?
Thank you
Best regards
kraken
Comment