Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/CloudyEMS/MetaBalls
MetaBalls glory in Unity3D
https://github.com/CloudyEMS/MetaBalls
Last synced: about 2 months ago
JSON representation
MetaBalls glory in Unity3D
- Host: GitHub
- URL: https://github.com/CloudyEMS/MetaBalls
- Owner: CloudyEMS
- Created: 2017-02-14T11:19:31.000Z (almost 8 years ago)
- Default Branch: master
- Last Pushed: 2017-02-14T12:14:12.000Z (almost 8 years ago)
- Last Synced: 2024-07-14T14:34:01.844Z (6 months ago)
- Language: GLSL
- Size: 37.2 MB
- Stars: 53
- Watchers: 4
- Forks: 9
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
- awesome-unity-open-source-on-github - MetaBalls - MetaBalls glory (Particle)
README
# MetaBalls
An implementation Metaballs (a.k.a Blobs) inside Unity3D. Written as a shader for the Particle System to allow formore control and fun ;-)![Demo Glass Metaball](http://i.giphy.com/l3q2CEBxrQABnRhaE.gif)
## Demo
Demo scene included. As I didn't have time to make GUI, I included the following commands to interact with the demo.
#### Commands
-
RMB
and move mouse to rotate camera. -
Mouse Wheel
to zoom in/out. -
1, 2, 3
to change between 3 shader varients. -
q, w
to change between 2 particle system. -
a
to change the speed of the particles between (0.5, 1, 2) -
s
to stop the particle system. -
d
to disable the noise effect of the particle system. -
z, x, c
to change the background. -
v
to stop the auto rotation of the camera
## Usage
- Create a new Particle System and make sure it is set to Prewarm and the Max Particles are 10.
- Create a new material with one of the provided shaders.
- Add the material to the renderer component in the Particle System.
- Add the script MetaBalls.cs to the Particle System.
- Enjoy a mesmerizing effect.
## TO DO
- Further optimise the raymarching on the particles.
- Write a main cginclude file to allow reusability and extensibility.
- Further integrate the shader it can take colours directly from the Particle System.
- Add support to Blend Probes.
- Support huge amounts of particles. (Currently only support max of 10 particles)
## Disclaimer
Skybox from http://pauldebevec.com/Probes/