I made a post a little while ago about how to use Metaballs in Blender to make a nondescript white fluid. Since then I’ve worked with metaballs a lot more and have come up with my own technique for making ‘fluids’. I was asked if I could share my technique, so here we go.
This is not a step-by-step tutorial and assumes you have decent knowledge of Blender and how to get around. Please check out Blender Guru’s videos if you need to learn your way around Blender.
While I do use these techniques for NSFW purposes, it is perfectly possible to use this for other fluids. In my experience it is best used for thicker fluids such as honey, sugar syrups, even slime.
First up is the settings. Metaballs are unique in the settings they have available. For most purposes I use the following settings.
So that is Resolution at 0.1m and Influence Threshold at anywhere around 1.4 to 1.6 depending on your scene scale and the effect you are looking for.
Resolution is how detailed the mesh will be, for fluids this should be a detailed as your computer is able to handle. You can reduce the resolution in the viewport if needed, but 0.1m results in a very detailed mesh.
Influence Threshold indicates how much of an influence each metaball’s surface has on its neighbours. I have found having this around 1.4 - 1.6 allows you to get nice ‘stringy’ parts very easily by pulling two metaballs slowly away from each other.
Next an important note you should know about Metaballs. If you read my last tutorial you’ll know that Metaballs are not exactly your standard mesh. They like to try to merge with each other.
When you add a new Metaball object you’ll notice it is called
MBall. If you add a second it will be called
MBall.001 and you’ll notice it will interact with your other object. You might think that’s a little strange! Normally objects don’t interact with each other.
Metaballs are different. They have ‘Families’ and the name before the
.xxx determines its family. If you want to have two Metaball objects that do not interact with each other you’ll need to add an Metaball object and then change it’s name. Changing the name in the Outliner seems to work fine in Blender 2.83+, but if it does not then try changing the name in the
Object Data panel.
Change the ‘Object Data’ name
This one is tricky to teach. I have three words. References, references, references. Need some honey? Look at a lot of pictures of honey and how it lies on surfaces, runs off spoons, get some honey and play around with it.
Need a more NSFW fluid? Prepare to look at far too many pictures of stuff… Yes, that stuff. Look at how it gathers, how it drips, how viscous it is. How does it lie on surfaces, how does it ‘commonly’ gather, what shapes does it ‘tend’ to make. If you are able to produce it yourself, look at it next time. If not, then…. I’m sure someone will help you out. I won’t judge you, whatever floats your boat.
While I am joking around, please don’t go doing anything inappropriate. In this current world of weird crap happening left, right, and center I don’t want anyone claiming I was the one who told them to go harvesting male fluids.
Placement Tips & Tricks
I can help with some tips and tricks. First I advise organizing your fluids into sections. Use a single Metaball per section and add detail to it via edit mode. You can do it all in one Metaball (I’m incredibly guilt of that), but it can get difficult to select and edit things depending on how large your fluid is. In the end it is up to how you like to work.
The process is fairly simple. Move your metaball to the location you want to start, then in edit mode duplicate the metaball moving it as you go. Use scaling to make it bigger or smaller to create lumps or thin spots. Use the tips below for even more control.
Proportional Editing is a friend sent from heaven. Use it! Place your metaballs in the general location and use proportional edit to fine tune it. In most cases when one part of a fluid moves it pulls the rest of it too, this is what proportional editing allows you to simulate. The shortcut for this is
o or you can use the Icon on the toolbar too. Use the mouse wheel after pressing
g to change the influence ring.
Click to enable ‘Proportional Editing’
Snapping is amazing. If you are placing a fluid onto a surface save your sanity and use snapping. That is the Magnet Icon (or Shift+Tab) in the image above. Use the drop down to the right of it to select a snapping mode, in most cases ‘Face’ would be best. This will snap your object to the top of whatever face is under your cursor. Then use proportional editing above to move the Metaballs up or down to make your fluid ‘appear’ thicker or thinner.
Intersection is helpful. The Metaball geometry will intersect surfaces, but in this case it is actually helpful. More about this when I talk about materials, but you can place more of the Metaball geometry above the surface for thicker areas and lower it for thinner areas.
This one is dependant upon what you are trying to make. I am making NSFW fluids and as such this part will be showing a NSFW material. I will be refraining from mentioning the name & using a basic plane as a surface. This is less for my host and mainly for the sake of search engines.
White Fluid, 512 samples, Optix Denoised
First up the material. I highly, highly recommend the material pack on Smutba.se. There are 3 in there for EEVEE and 3 for Cycles. You are free to choose whichever you like, but my preference (for Cycles) is WO!262 and was the material I was already using after finding it on the YouTube video referenced on the pack’s page. Grabbing it from Smutbase is much easier than re-making it though.
There is a very good chance if you use the material that it might look too ‘transparent’. That is because, in most cases, you will need to tweak the volumetric density to be more suitable for your scene’s scale.
Wo!262 Shader - Volumetric Density
I find 400 and 200 to be about right most times but again it depends on your scene scale and how ‘cloudy’ you want it to look. This applies to some of the other materials in the pack too, so be sure to check the material out if they don’t look ‘quite right’.
In the above the volume scatter on the bottom is used if the ray that intersects the material is a
shadow ray. From my limited understanding this is a way of controlling the volume in areas where shadows are. Please, if anyone with better understanding that part of the material reads this, feel free to comment below with a more detailed explanation, I’d love to know more about it.
I mentioned geometry intersection earlier. Having more geometry above the surface will make the Metaball look cloudy, having a smaller amount will make it appear more transparent. This is due to how the material works and I have found it looks a lot more realistic. Use it to your advantage.
Metaballs are ‘fluid’ by nature so they are a sure fit to use for a more ‘controlled’ fluid. With a bit of patience, looking at a lot of reference and an awesome material you can get some truly amazing results.
I highly recommend the use of proportional editing & snapping. They make things so much easier.
Hope this helps. Again a lot of this is based on my own experience so I’m sure there are things that could be done in a better way, but please feel free to improve on these and share!
I may post a timelapse video of adding fluids at some point but it would only be available on Twitter as I keep actual NSFW content away from my blog as much as I can so Search Engines do not treat the site as Adult Content. Follow me on Twitter so you don’t miss it!