how to voxelize mesh on the gpu.

I would like to be able to voxelize meshes at runtime on the GPU every frame, I just don’t know where to start. I know I should pass in mesh data to a geometry shader, and then… do something? Literally, any help or a link to an algorithm that can do this on a GPU(aka, no variable-sized loops and such) would be greatly appreciated.

this is probably a good start

1 Like