All Projects → jknightdoeswork → Gpu Physics Unity

jknightdoeswork / Gpu Physics Unity

Through this configuration, no per voxel data is transferred between the GPU and the CPU at runtime.

Projects that are alternatives of or similar to Gpu Physics Unity

Voxelframework
An awesome Voxel framework for Unity (Game Engine)
Stars: ✭ 57 (-83.33%)
Mutual labels:  unity, voxel
Mathutilities
A collection of some of the neat math and physics tricks that I've collected over the last few years.
Stars: ✭ 2,815 (+723.1%)
Mutual labels:  unity, physics
Unityraymarching
Unity Raymarching Examples
Stars: ✭ 57 (-83.33%)
Mutual labels:  unity, voxel
Voxelengine unity
Voxel engine made in C# for Unity
Stars: ✭ 25 (-92.69%)
Mutual labels:  unity, voxel
Ngx
Ngx - Neural network based visual generator and mixer
Stars: ✭ 277 (-19.01%)
Mutual labels:  unity, gpu
Basic pathtracer
A basic GPU pathtracer in unity
Stars: ✭ 39 (-88.6%)
Mutual labels:  unity, gpu
Marching Cubes On The Gpu
A implementation of the marching cubes algorithm on the GPU in Unity.
Stars: ✭ 208 (-39.18%)
Mutual labels:  unity, voxel
Dungeontemplatelibrary
🌏: Dungeon free resources (terrain & roguelike generation)
Stars: ✭ 595 (+73.98%)
Mutual labels:  unity, voxel
Marching Cubes
Marching cubes in Unity
Stars: ✭ 263 (-23.1%)
Mutual labels:  unity, voxel
Tork
Arcade vehicle physics for Unity
Stars: ✭ 256 (-25.15%)
Mutual labels:  unity, physics
Adaptinggravityunity3d
Discontinued - A small library for gravity that adapts to the ground normal the player is standing on
Stars: ✭ 24 (-92.98%)
Mutual labels:  unity, physics
Unity Destruction
💥 An open-source script to destroy objects realistically in Unity3D.
Stars: ✭ 291 (-14.91%)
Mutual labels:  unity, physics
Unity3d Cg Programming
Various shaders.
Stars: ✭ 800 (+133.92%)
Mutual labels:  unity, gpu
Gpu Spline Deformation
Baking spline deformation to a texture then applying it to a mesh via a shader.
Stars: ✭ 52 (-84.8%)
Mutual labels:  unity, gpu
Toypathtracer
Toy path tracer for my own learning purposes (CPU/GPU, C++/C#, Win/Mac/Wasm, DX11/Metal, also Unity)
Stars: ✭ 753 (+120.18%)
Mutual labels:  unity, gpu
Vivegrip
Physics-based grabbing for SteamVR development in Unity.
Stars: ✭ 159 (-53.51%)
Mutual labels:  unity, physics
Stablefluids
A straightforward GPU implementation of Jos Stam's "Stable Fluids" on Unity.
Stars: ✭ 430 (+25.73%)
Mutual labels:  unity, gpu
Randomation Vehicle Physics
Vehicle physics system for the Unity engine.
Stars: ✭ 487 (+42.4%)
Mutual labels:  unity, physics
Proceduralterrain
Procedural voxel terrain generation in Unity
Stars: ✭ 237 (-30.7%)
Mutual labels:  unity, voxel
Unity Script Collection
A maintained collection of useful & free unity scripts / library's / plugins and extensions
Stars: ✭ 3,640 (+964.33%)
Mutual labels:  unity, physics

A GPU Accelerated Voxel Physics Solver for Unity

Read more at

http://www.00jknight.com/blog/gpu-accelerated-voxel-physics-solver

gif

64,000 cubes

gif

1024 cubes

A Unity Command Buffer is used by GPUPhysics.cs to dispatch the compute and render shaders.

This has been designed such that no per voxel data is transferred between the GPU and the CPU at runtime.

Speed will likely by further through research and optimization of the per particle Kernels within the Compute Shader.

LICENSE

You can use this software in a commercial game, but you cannot sell this software on the Unity Asset Store or any other platform that sells software tools for developers.

Further Improvements

Build the Voxel Grid around the bounds of the simulation dynamically

  • auto apply the "renderer bounds" and the "gridDimensions"
  • does "renderer bounds" even do anything? - looks like not

Eliminate the Voxel Grid Clear Step

Establish the pattern for collision with solid objects

Find out why the Damping force and Tangential forces described in Takahiro Harada's system do not seem to have good effects

Determine if a better shadow pass can be constructed to speed up shadows

Find out how to reliably render through CommandBuffer.DrawMeshInstancedIndirect (Unity bugs?)

Optimize the thread grouping

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].