Jump to content

Particle $LIFE to SHOP


greene_04

Recommended Posts

Hello everyone. I'm new to houdini and the forum. I'm sorry if my question is a little too newbie but I'd rather ask and know the solution for in the future.

I would like to know how to go about passing the $LIFE of a particle on to the VOPs in SHOP to create a shader. I would like to use the life of the particles to control certain aspects of a shader.

I did search of other topics but I was unable to find one with a solution that fit my scenario.

Thanks a lot for any help you guys can give me.

Link to comment
Share on other sites

you can use a parameter VOP to bring in an attribute, such as $LIFE. But since $LIFE is just a variable, and not actually an attribute, you need create the attribute. Create an attribute SOP called "plife" with a value of "$LIFE". Then create a parameter VOP > float and assign it the name "plife".

Link to comment
Share on other sites

Got it. It seemed so simple a preschooler could probably do it, but it was probably just the very clear instructions you guys gave me.

Thank you guys a lot. I really appreciate your help. Learning Houdini isn't the easiest thing in the world but this forum and its members have really made the process enjoyable and worthwhile. Thanks again.

Edited by greene_04
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...