meerkat Posted April 21, 2006 Share Posted April 21, 2006 hi i am having some problem passing attributes to parameters in renderman shaders. I have seperated a colour into three different attributes (red, green , blue) that get passed to a shader which has three seperate floats parameters for its colour parameters. But the shader doesnt pick up the attributes and just renders the default colour. I have attatched a hip file which demonstrates the problem. Thanks for any help in advance amir attrib_prob.hip Quote Link to comment Share on other sites More sharing options...
Mario Marengo Posted April 21, 2006 Share Posted April 21, 2006 Here's the file with the changes you need. Read the notes in the SOPs and VOPs to see what I changed. Basically: 1. Use the Attribute SOP to do the Houdini->PRMan attribute mappings. 2. Ensure the "varying" status of the shader parameters match the bound ones (and vise-versa). HTH. attrib_prob_mgm.hip Quote Link to comment Share on other sites More sharing options...
meerkat Posted April 23, 2006 Author Share Posted April 23, 2006 thanks for the explanation Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.