Jump to content
Sign in to follow this  

Turning Fluid Sim to Sample into a Vert Colour

Recommended Posts

Hi, I'm trying to replicate the vomit tool being talked about in this GDC talk:

I'm getting pretty confused by pretty much every step after simming the fluid. Im hoping someone can help me or point me in the right direction to learn about how I would:

  • Convert the fluid into an SDF
  • Write a script that will have every vertex in a grid sample the SDF
  • Use that value to return a colour value
  • Render out the resulting blob each frame 
  • aggregate all those frames into one texture that I can step through in engine

If anyone can help me with any information to get through those steps I would be hella thankful! 

Share this post

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this