Jump to content

changing mentalRay shader param (color to file texture)


Recommended Posts

Hi !

I managed to get work my custom mentalray shader in houdini(9.1).Everything works except all mentalray color parameters was translated to color(in the OTL file by mids.exe), which are not texturable parameters.If i change them in houdini (by type properties) from color to file i got an error message in rendertime :"incorrect arg type "color" in function call "myShader" or missing comma".

Maybe this comes for the .mi declaration (it is loaded by ray3rc) which says that parameter is a "color".

Or am I wrong?

Is there an easier way to make the custom shader parameters texturable with a mentalray shader?(even with the base shaders??)

thanks in advance

Ashraf

Link to comment
Share on other sites

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.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...