{"repo":"gharielsl/godot-marching-cubes","free":true,"listed":false,"github":"https://github.com/gharielsl/godot-marching-cubes","clone":"git clone https://github.com/gharielsl/godot-marching-cubes.git","description":"Multiplayer marching cubes game in Godot demo","language":"C#","stars":28,"topics":["marching-cubes","voxels","godot"],"license":"MIT","category":"game-templates","readme_excerpt":"Godot marching cubes This is a demo of multiplayer marching cubes game in godot. Features - Procedural world generation with biomes - Blending different materials - Water - Day night cycle - Multiplayer - Voxel placing and removing Testing - To run the project open it in godot and run it, two windows will open. - In one window you can enter singleplayer, the other is to test multiplayer. - Connect to the singleplayer world using port 5000. Adding new voxels - Create a new class that extends Voxel under the \"voxel\" folder - Give it a unique ID and register it in \"Main.cs\" - If you're using textures add the uniforms in \"terrain.gdshader\" and assign the textures in node \"Mesh\" that is inside \"chunk.tscn\" - Add it into \"terrain.gdshader\" under getVoxelColor like so: Adding new biome - Create a new class that extends Biome under the \"world generator/biome\" folder - Optional: You can call base({your base height}, {your height variation}) - Implement the GetVoxel method - Add your biome to GetBiome in the \"WorldGenerator\" class Adding new surface mesh - Save the geometry as a \".res\" file under \"voxel/surface mesh\" - Save the texture as \".png\" in the same place - In \"Main.cs\" load your mesh and texture - Instantiate the surface mesh material (res://shaders/surface mesh.tres) and assign your texture to the parameter \"color\" Optimizing performance for older hardware You can play with the in-game settings, lower mesh count and render distance. Or: In \"world/Chunk.cs\" - Generate(bool sel","default_branch":null,"files":null,"tree":[],"storefront":"/r/gharielsl","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/gharielsl/godot-marching-cubes/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}