Baike.dev
All toolsOnline toolsAI codingTrendingOpen sourceNewsSubmit
Log in
< Back to tools
U

unity-voxel

> 编程语言
Open source

Mesh voxelization for Unity.

1.5K stars0 likes0 views
WebsiteGitHub

About

Mesh voxelization for Unity.

unity-voxel

Voxelize mesh algorithm in Unity. (includes GPU and CPU voxelizers.)

GPUVoxelParticleSystem

the Demo for GPU Particle with geometry shader. (only tested on windows10 (GTX 1060))

Inspired by Keijiro Takahashi works⚡️ StandardGeometryShader & KvantSpray

GPUVoxelMosaic

the Demo to update the resolution of voxels in realtime. (only tested on windows10 (GTX 1060))

GPUVoxelSkinnedMesh

Sample a mesh from SkinnedRenderer in every frame and voxelize it in realtime.

the human model and animation from asset store.

Usage

with GPU Voxelizer (recommended)

…

with CPU Voxelizer

cs
// Voxelize target mesh with CPU Voxelizer

List<Voxel> voxels = CPUVoxelizer.Voxelize(
    mesh,   // a target mesh
    20      // # of voxels for largest AABB bounds
);

Compatibility

Tested on Unity 2018.3.0f2, windows10 (GTX 1060), macOS (metal, not compatible with GPU Particle Demo).

Sources

  • Triangle mesh voxelization / Wolfire Games Blog - http://blog.wolfire.com/2009/11/Triangle-mesh-voxelization

  • Möller–Trumbore intersection algorithm - https://en.wikipedia.org/wiki/M%C3%B6ller%E2%80%93Trumbore_intersection_algorithm

  • keijiro/StandardGeometryShader - https://github.com/keijiro/StandardGeometryShader

  • keijiro/KvantSpray - https://github.com/keijiro/KvantSpray

  • Post Processing Stack - https://www.assetstore.unity3d.com/jp/#!/content/83912

Issues· 11 open

View all issuesOpen on GitHub

No open issues yet, or sync has not completed.

> Tags

C#

No comments yet. Be the first to share.

> Details

PublishedAug 1, 2026
UpdatedSep 17, 2026
Category编程语言
PricingOpen source

> Related tools

T
TypeScript
JavaScript 的超集,为前端与全栈提供静态类型
P
Python
通用编程语言,广泛用于 Web、数据与 AI
G
Go
Google 推出的简洁高效系统语言