https://github.com/CloudyEMS/MetaBalls
MetaBalls glory in Unity3D
https://github.com/CloudyEMS/MetaBalls
Last synced: 6 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 (over 8 years ago)
- Default Branch: master
- Last Pushed: 2017-02-14T12:14:12.000Z (over 8 years ago)
- Last Synced: 2024-07-14T14:34:01.844Z (over 1 year 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 - commit/CloudyEMS/MetaBalls?logoSize=auto) - 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
Demo scene included. As I didn't have time to make GUI, I included the following commands to interact with the demo.
#### Commands
-
RMBand move mouse to rotate camera. -
Mouse Wheelto zoom in/out. -
1, 2, 3to change between 3 shader varients. -
q, wto change between 2 particle system. -
ato change the speed of the particles between (0.5, 1, 2) -
sto stop the particle system. -
dto disable the noise effect of the particle system. -
z, x, cto change the background. -
vto 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/