📄 drei/abstractions/marching-cubes

File: marching-cubes.md | Updated: 11/15/2025


title: MarchingCubes sourcecode: src/core/MarchingCubes.tsx

An abstraction for threes MarchingCubes

<MarchingCubes resolution={50} maxPolyCount={20000} enableUvs={false} enableColors={true}>
  <MarchingCube strength={0.5} subtract={12} color={new Color('#f0f')} position={[0.5, 0.5, 0.5]} />

  <MarchingPlane planeType="y" strength={0.5} subtract={12} />
</MarchingCubes>