Metaball Shader


This shader renders randomly moving metaballs in real-time and is written in GLSL. Three 1D texturefiles can be used to define the look of the shader:

  • gradient for the actual color
  • gradient for mixture between this color and the background color
  • image to define the look of the hatching in the background. This image repeats over and over again with an adjustable displacement in each row.
If you would like to view the sourcecode please download it here.