Jump to content

How can I get this same effect but on Mantra?


becheg

Recommended Posts

hey mauro!
first you'd have to set up an attribute to drive the shading. I just used a float attrib called heat and used the 'myscale' variable you set inside the dynamic scaling geo wrangle. As you run the sim, whenever the enablesolver fires the scale values are added to this heat var, collecting it over time.

For the heat decay you'll just need another geowrangle that dampens this heat attrib every time step. I put it before the dynamic scaling part so the newly added values dont get reduced immediately and they can fully reach 1.0.

Then you have a prim attrib on your packed geo which you can visualize with a color sop.

To access the heat attribute inside any shader you can use a render state vop with packed:heat as a value name. Then you can plug this float value into a ramp parameter and give it some color, emission...!

glowbox.jpg

LiveScalingBulletsSetup02.hiplc

Edited by nuki
  • Thanks 2
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...