AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |
Back to Blog
Webgl fluid simulation 312/30/2023 ![]() Depending on the resolution of the fluid textures.ġ. However if you have a bunch of simulators it can use quite a bit of gpu memory. If you have any further questions or suggestions, feel free to contact me here or via email: the simulation is done, there is close to no performance impact. ✅ Tested on Windows, Android, and WebGL! Should work on any platform! Alternatively, you can easily create your own supported shaders with the provided custom shader graph nodes, or shader utility functions. There are basic surface and shader graph shaders included. Please note that your objects require a specialized shader for overlaying the fluid, or when using the texture atlas system. UV-seam artifacts can be hidden! Good UV unwrap is still needed.Ĭlean high performance code, with minimal dynamic memory allocations!ĭue to its modular structure, you can decide which parts of Fluid Flow you want to use, without unnecessarily bloating your project.įluid Flow is not a physically accurate fluid simulation, but it provides good-looking fluid for your games at a comparable low performance cost!Īs fluid is painted and simulated in UV space, your meshes require a UV unwrap with non-overlapping UV islands, so there is a 1:1 correlation between the object's surface and the texture. ✨ Flow reacts to Skinned Mesh Deformations, and Normal Maps! ![]() ✨ Project Color, Normal, or Fluid Decals! ⚡ The texture painting and flow simulation are handled fully on the GPU for optimal performance! However, you can also use it just for real-time 3D texture painting/decals, which also supports skinned mesh renderers. The main feature of Fluid Flow is the dynamic flow simulation. Use it for blood, paint, or any other kind of fluid. Fluid Flow allows you to paint fluid to your objects in real time, and simulate it flowing down the surface dynamically.
0 Comments
Read More
Leave a Reply. |