Asset - Scripts Sprite to Voxel - Easily convert sprites to 3D models with a few script calls


Josh Yaxley

Hi everyone! I've recently finished an asset I've been working on to make 3D models out of flat 2D sprites (by splitting the sprite into layers and stacking them together). It even works for animated sprites (converting them into animated models)!

Sprite to Voxel on the Marketplace


I've taken this from the description on the Marketplace page:

Sprite to Voxel is a package that aims to make 3D game development more accessible to developers that don’t have a great deal of experience in 3D modelling, whilst also tucking away the model rendering code into easy-to-use scripts.

Sprite to Voxel allows the developer to build 3D models out of 2D sprites, by stacking them on top of each other and converting each pixel into a voxel (a 3D 1x1x1 cube).

The package comes as a test project (though to use in your games you only need the "SpriteToVoxel" folder of scripts). The test project shows how you can use these scripts to convert your sprites into models.

You can view the ".exe" output of this test project here, if you want to see what Sprite to Voxel can do!

Full documentation can be found here, and should be the first point of reference if you run into any problems, as I've tried to be quite comprehensive! As well as a "Basic Use" section, there are notes on best practices to optimise your game's performance with this package.


Let me know if you need any help! And I would love to see anything that anyone makes with it :)

Freddy Jones

Your Main Detective
This looks real neat! I'd love to see a video of it in action - I'm sure other people would like to see that too. I don't use 3d, so it's not something I'm really in the market for, but I think this is a pretty sweet thing you've made!


Wow! My knowledge about 3D is basically 0, but this asset fascinates me. I might buy it and try to learn some 3D with it =)