- Home /
Metaball problem?
I would like to create a metaball script as the one in the wiki doesn't work well for me. The metaball I want to create is like the one in blender: one metaball links with the other metaball smoothly.
However I'm not buying anything. (Fluvio)
I have no idea what to do however. Any tips or tutorials?
Thanks!
Just wanted to chime in here. Fluvio actually uses screen-space metaballs, and not true geometry based metaballs like the script in the wiki. This decision was made for performance reasons.
That's not an easy task. You'd have to create, modify and remove vertices in your script and handle the index lists as well. $$anonymous$$y suggestion would be to try and get the one on the wiki to work. I've seen it in action and it works pretty well.
Answer by CodeArtist_MX · Sep 06, 2013 at 01:37 AM
Hello! 2 years late I know! But I hope if somebody else got this problem can be helped with my answer. I have implemented a metaball shader into unity and i think it works quite well, I personally use it to give an effect of liquid physics.
I wrote an extensive tutorial here. There is also a live demo of it. You can download the example project at the bottom of the page and use the shader as you wish. You can see the barebones of the shader in here as well. (Implemented in GLSL)
Here is the result:
Here is how the metaball shader looks: