Bubble Shader

by NM-8 in Surfacing


To use the shader you just need to append the BUBBLES material from the blend file. (File/append/ locate the file and choose /materials/BUBBLE)

The Product contains two blend files from which you can append the world backgrounds: a file for Cycles and one file for Eevee.

Go to File/Append and locate the blendfile "nm8_skies.blend". Go to its "world" folder, to choose from the presets.



Parameters
  • color: set the color of the bubbles
  • scale: set the scale. it can change over the surface using textures, which wont squeeze the bubbles, but rather sets their size in solid steps, in order to blend from small bubbles to big ones.
  • transparency: change the transparency of the bubbles along the bubbles shape, to set the thickness of the walls between them. beerfoam will have a value about 0.8 and soapbubbles about 1.5-2
  • translucency: how much light gets through the surface, to lighten darker sides of your bubblemesh.
  • roughness: soapbubbles will have 0.0 roughness, while dirty water bubbles need a higher value 0.5-1
  • absorbtion: a value of 0.0 lets you see through, while higher values will darken the inner parts and absorb light.
  • alpha: use a ramp to blend the mesh into liquids, using this parameter. it ignores bubbleshapes (unlike the transparency value).
  • bump: set the strength of the bump. usually a value of 1 results in spherical glossyness.
  • offset: If you want to animate the bubbles, this vector can be used to move the texture. in many cases the mesh moves, but you want the bubbles to stay in place, like wave-foam. here you can use the input/geometry node's position vector to let the bubbles stay put.
Sales 50+
Dev Fund Contributor
Published about 4 years ago
Blender Version 2.77, 2.78, 2.79, 2.8, 2.81, 2.82, 2.83, 2.9, 2.91, 2.92, 2.93, 3.0, 3.1, 3.2, 3.3, 3.4, 3.5, 3.6, 4.0
Render Engine Used cycles, eevee
License Royalty Free
Have questions before purchasing?

Contact the Creator with your questions right now.

Login to Message