Bubble Shader
PROCEDURAL SURFACE SHADER
For bubbles, soap, spray and foam adding realism to your productshots, bathrooms and kitchen renderings.
For bubbles, soap, spray and foam adding realism to your productshots, bathrooms and kitchen renderings.
It works in CYCLES and EEVEE
The bubble structure is generated with parallax mapping resulting in spherical bubbles on the mesh surface, rather than flat discs.
It uses several reflective shaders to project an outer, an inner spehere, as well as inner segments which reflect sideway specular highlights, adding up to the complex glossy sparkling material we all know.
The shader is grouped into a handy shadernodegroup, which gives the most relevant parameters, like scale, transparency, translucency, and alpha to ensure a smooth and immersive integration into your scene.
Transparency uses the bubbleshape while alpha just sets the transparency of the meshsurface, in order to easily blend it into your liquids or quickly set an overall transparency.
Scale
The size of the bubbles can change along the surface, so that you wont end up with squeezed textures! The shader input into segments of a particular scale, rather than smoothly changing the scale value according to your input (which would stretch and squeeze the texture).
Have a look at my other items including:
About the Creator:
I am a 3D artist in the advertising & television industry for 25 years.
While working on projects and teaching animation at design college since 1998, i studied physics at the university of Vienna. That equipped me with a solid toolset of math to use in 3D workflows.
I started programming Blender add-ons and noding vector operations into shaders around 2012.
I love how Blender and Cycles offer a lot of opportunities to speed up rendering and fake depth into surfaces in many ways.