Metaballs shading in 2D w/ physics
This project was built using Unity (game engine), Cg shader and metaballs. Support physics which was written from scratch: gravity, friction forces. For fun stuff I added also 4 properties for metaballs: mass absorbing/desorbing rate, radius compression/expansion rate. Enjoy!
- Use
+/- numpad
to add/remove metaball - Use
Inspector
to control metaball's properties - Use
shader
to manipulate pixel color
In case if you don't have numpad from your keyboard pls refer to the InputHandler function