Jump to content

Pyro Shader-Custom Fading-Distance


isah_voodoo

Recommended Posts

Hello,

I am trying to achieve a fading effect post sim inside of the pyro shader.

Normally to achieve a fading effect in sops I can calculate the distance from the center to each point on the geo and plug that into color.

I am trying to apply that theory to volumes. However, I do not not how to calculate the center of a volume or import a point attribute into the pyro shader to use that as my center.

I have come up with a scene file..i feel like i am very close but i just need to find the center of the volume within the shader. 

Any help would be very much appreciated.

 

pyroshader_distance_from_center.hip

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