Rudimentary voxel physics
A downloadable asset pack
It all runs on the CPU so no compute shaders, which means it could technically run on any device although it might bog down hand-held devices. It's fairly well optimised, being able to run at 120fps on my I7-7700HQ.
The real magic began to happen when I added different materials, each point now also has a material index, this index determines how this piece of matter behaves, if it is the index for sand, I now run an algorithm to move the piece of matter down based on the current gravity until it hits a solid object. If it is stone, it'll only fall if it's unsupported on all sides, etc.
Status | Prototype |
Category | Assets |
Author | Kees Tucker |
Leave a comment
Log in with itch.io to leave a comment.