{"id":17555489,"url":"https://github.com/pavelkouril/unity-marching-cubes-gpu","last_synced_at":"2025-04-24T03:47:36.402Z","repository":{"id":76159255,"uuid":"87396721","full_name":"pavelkouril/unity-marching-cubes-gpu","owner":"pavelkouril","description":"GPU ComputeShader implementation of Marching Cubes algorithm","archived":false,"fork":false,"pushed_at":"2017-06-23T12:44:18.000Z","size":38,"stargazers_count":74,"open_issues_count":1,"forks_count":9,"subscribers_count":5,"default_branch":"master","last_synced_at":"2025-04-24T03:47:30.255Z","etag":null,"topics":["compute-shader","marching-cubes","unity"],"latest_commit_sha":null,"homepage":null,"language":"C#","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/pavelkouril.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2017-04-06T06:57:58.000Z","updated_at":"2025-02-22T06:51:25.000Z","dependencies_parsed_at":null,"dependency_job_id":"3ad957b5-87fb-4e8b-b944-53a14313d59e","html_url":"https://github.com/pavelkouril/unity-marching-cubes-gpu","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pavelkouril%2Funity-marching-cubes-gpu","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pavelkouril%2Funity-marching-cubes-gpu/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pavelkouril%2Funity-marching-cubes-gpu/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pavelkouril%2Funity-marching-cubes-gpu/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/pavelkouril","download_url":"https://codeload.github.com/pavelkouril/unity-marching-cubes-gpu/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":250560009,"owners_count":21450168,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["compute-shader","marching-cubes","unity"],"created_at":"2024-10-21T07:05:47.361Z","updated_at":"2025-04-24T03:47:36.395Z","avatar_url":"https://github.com/pavelkouril.png","language":"C#","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Marching Cubes GPU implementation for Unity\n\nDeveloped with Unity 5.6, might work on older versions as well. No guarantee tho. Requires DX11 hardware. Not honestly sure about mobile phones, but my guess is it won't work. Feel free to correct me.\n\nThe generating of density field is done on CPU, but for demonstration purposes it should be enough. You will probably want to modify the `MarchingCubes.DensityTexture` from `Texture3D` to `RenderTexture` in a real application.\n\n`ProceduralGeometry` shader used for drawing the MC is barebone and contains only diffuse lightning; replace it with a custom one, modified to your liking. :)\n\nAny pull requests and issues are welcome.\n\n## Credits\n\nImplementing this would not be possible without:\n\n- The algorithm and lookup tables by Paul Bourke \u003chttp://paulbourke.net/geometry/polygonise/\u003e\n- The gradient normals calculation \u003chttp://www.angelfire.com/linux/myp/MCAdvanced/MCImproved.html\u003e\n- Vilém Otte \u003chttps://github.com/Zgragselus\u003e, and his debugging/troubleshooting skills\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpavelkouril%2Funity-marching-cubes-gpu","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpavelkouril%2Funity-marching-cubes-gpu","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpavelkouril%2Funity-marching-cubes-gpu/lists"}