Jump to content

writing help for shader


Omy

Recommended Posts

hi i want to display a caption when the user puts his cursor over the material parameters.

I have seen the houdini help

basic syntax for help is

#pragma help "abcdefghi"

however after i recompiled the houdini code and try to test.I dont get the text in the dialog

help needed

Many thanks

Link to comment
Share on other sites

#pragma help is for writing help for the overall operator. To add a "tooltip"-style popup help for a single parameter, use #pragma parmhelp

#pragma parmhelp parameter_name "text"

#pragma parmhelp parameter_name "text"

Sets the tooltip that appears when the user hovers over parameter_name.

#pragma parmhelp amp "Increase this value to add more noise."
displacement bumpy(float amp=0) {
...
}

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...