Jump to content

Fluid emission from shader attribute


merlino

Recommended Posts

Hi, I'm kind of stuck trying to emit fluid from a shader attribute.

The problem is that I have a ramp material and I would like to emit fluid only from the opaque part, not the transparent one.

I found some help but reading a texture, not a shader. How can I do that?

 

Link to comment
Share on other sites

Wouldn't it be easier to do it the other way around? Create an attribute on your geo that you both emit from and control your opacity with.

Hi David, the problem is that I use the ramp shader witch works with the facing ratio and I don't know how to store that info to the points ...

Maybe the solution is in what Jason says, even if I don't know how to reach it right now ... tomorrow I'll do some test :)

 

Many thanks!

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