14
2012
2D Fluids with Cellular Automata
2D Fluids test.. Trying to make water like this (see forum link), but in 2D (like the original java link there)
First version works.. but using SetPixel, which is slow.. *Updated screenshot, added webplayer
Currently its drawing those boxes with setpixel..
*Check also the newer version: Eulerian Water Sim
Webplayer:
http://unitycoder.com/upload/demos/mFluids2DCellularAutomata1/
Download source: (C#)
mWaterSim2D.unitypackage
Related Posts
4 Comments + Add Comment
Leave a comment
Recent posts
- LudumDare59 : Signal
- Unity Editor: Tree Generator
- Leaf/Foliage Generator Tools (Runs in Browser)
- Testing Unity AI Beta
- Ways to Support UnityCoder Development
- Using UI Slider to Create 5-Star Rating Element
- Game Music Library For Unity (editor plugin)
- Fontastic : Easily Test Fonts in Unity Editor!
- GeoTiff Importer & Terrain Generator for Unity
- Create Baked DropShadow for UI images
- .JP2 Ortho Image Converter to PNG/JPG/TIFF
- Convert LAS/LAZ/PLY pointclouds to GLTF (GLB) Point Meshes (standalone converter)
Recent Comments
- on Mesh Exploder (sources)
- on Sprite Sheet Flip Book Shader
- on Sprite Sheet Flip Book Shader
- on [Asset Store] PolygonCollider2D Optimizer
- on Trajectory Test Scene 2.0
- on Vector3 maths for dummies!
- on UnityHub 3.6.0: Remove Version Control & Cloud Dashboard columns
- on Using RenderDoc with Unity (graphics debugger)
Coin:
CUgDSbRqFcAumDSAcdKDvuXsw26VdkJe8C8WGUQHBAGS
An article by













cleaning up the source a bit..uploading on sunday or monday..
What I’m going to do in the next version of the lirabry is expose a way to update the world matrix of an object in the list kept by the ShadowMapRenderer.I’m still working on the best way to do this, but if you want a quick and dirty solution, you can make the list of casters public, and remember the index of each added object.If you’re not afraid of a little garbage (until the next verison comes out), simply modify the lirabry code, clear the list of shadow casters at the end of each frame, and add the casters with their correct world matrices each frame.
some amazing stuff here!
2D fluids, 3D fluids etc:
http://scrawkblog.com/2014/01/09/gpu-gems-to-unity-3d-fluid-simulation/
Cellular Automaton 2D Liquid Simulator for Unity
https://github.com/jongallant/LiquidSimulator