SkillAgentSearch skills...

ComputeMarchingCubes

[Unity] GPU-optimized marching cubes isosurface reconstruction

Install / Use

/learn @keijiro/ComputeMarchingCubes
About this skill

Quality Score

0/100

Supported Platforms

Zed

README

ComputeMarchingCubes

gif gif

ComputeMarchingCubes is a Unity sample project that reconstructs isosurfaces of scalar volume data using a compute shader and the new mesh API graphics buffer direct access).

It uses the classic marching cubes algorithm for isosurface reconstruction. The implementation is based on Paul Bourke's article but partially modified for GPU optimization.

System requirements

  • Unity 6
  • Compute shader capable system

What's inside

This project contains two sample scenes:

Note that the configuration of the volume data is hardcoded in the sample script/shader. You have to implement a data parser to support a specific volume data format.

View on GitHub
GitHub Stars469
CategoryDevelopment
Updated21h ago
Forks47

Languages

C#

Security Score

95/100

Audited on Mar 24, 2026

No findings