Jump to content
ssh

Marschner hair model

Recommended Posts

Hair shader is written for mantra not renderman. There is no .sl or .slo file for it.

Share this post


Link to post
Share on other sites

ssh, first I just wanted to say thanks for a great shader, I recently used it for the Houdini/Mixamo competition at the POlycount site. I did run into a problem though. I noticed that if I give a light a category name, and then assign that name to the hair asset's render props (for light/shadow/etc), the hair comes out as a matte, the shader doesn't seem to get run or used. It only seems to work with lights that have no category name. Is that to be expected, or would there be something else going on that would cause this? The hair asset is configured to use your shader, latest version, using H12.1.

Share this post


Link to post
Share on other sites

Can you please post an example file so I can check and fix it?

Share this post


Link to post
Share on other sites

Yeah, I will try after Monday, I'm rendering right now, but I'll try and make a example for this.

Share this post


Link to post
Share on other sites

OK Thanks. Quick question - the default fur material picks this up without having to set anything on the shader. Is there any reason why?

Share this post


Link to post
Share on other sites

Do not know about the default fur.

In my shader they are used for the purposes of light linking.

So you can choose which lights are illuminating hair and which are not.

Categories are passed straight to illuminance loop inside of shader.

For more information on this please refer to the docs:

http://www.sidefx.com/docs/houdini12.1/light/lightandshadowlinking#categories

http://www.sidefx.com/docs/houdini12.1/vex/functions/illuminance

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×