Awesome
<p align="center"> <a> <img width="128px" src="./assets/VoxelCore.svg?sanitize=true" alt="" /> <h1 align="center"> Voxel-Core </h1> </a> </p> <p align="center"> <a href="https://github.com/ClarkThyLord/Voxel-Core/releases"> <img src="https://img.shields.io/badge/Version-3.2.0-green.svg" alt="Version"> </a> <a href="https://godotengine.org/asset-library/asset/465"> <img src="https://img.shields.io/badge/Godot-AssetLibrary-blue.svg?logo=data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAAAYdEVYdFNvZnR3YXJlAHBhaW50Lm5ldCA0LjEuNv1OCegAAACZSURBVDhPzYzBDYMwEAQt0VjCJxWkq1TBkybyIU3kw58iAJ1vF1bmUBLEIyONbN/tOp3O7fGcTDwz0WwXhiMR2cJlWYjU/EIZ+sZ721aoH/sAVYfD7j1MhgapMcoOVYfD66XOGizx5I5ZVB0OGdQ37/qxiarD4S+i6uSvAQPNq1/kTEHV0QDvkbpHdUWDn0RlSxQuRfRvSGkGI8iOwHqmdCcAAAAASUVORK5CYII=" alt="AssetLibrary"> </a> <a href="https://github.com/godotengine/awesome-godot"> <img src="https://awesome.re/mentioned-badge.svg" alt="Godot-Awesome"> </a> <a href="https://github.com/ClarkThyLord/Voxel-Core/blob/master/LICENSE"> <img src="https://img.shields.io/badge/License-MIT-brightgreen.svg" alt="License"> </a> </p>Voxel plugin for the Godot game engine!
<p align="center"> <img src="./assets/promo.jpg" alt="" /> </p>
About
Voxel-Core is a voxel plugin for the Godot game engine made with GDScript, created as the ‘core’ for my other project Voxly, offering various voxel features, utilities and fully fledged in-engine editors.
Why Voxel-Core?
- Create, import and edit voxel content in-engine and in-game
- Runs anywhere Godot does (e.g. desktop, web, mobile, etc.)
- Great for voxel objects (e.g. characters, creatures, props, etc.)
- Designed to be easily extended, modify and expand Voxel-Core to meet your needs
Features (Video)
- VoxelObject, is a new MeshInstance type that is used to visualize voxel content
- Easily embed self-maintaining StaticBodies
- Fully automatic UV Mapping, creating textured voxel content has never been easier
- Meshing modes: naive meshing, for creating quick culled meshes; greedy meshing, for creating optimized meshes
- VoxelSet, a Resource, much like a TileSet, that stores voxels, textures and materials used by VoxelObjects
- Create an almost infinite variety of voxels
- Define SpatialMaterials and Shaders for one or more voxels
- Set colors, textures, materials and more on a voxel or per face basis
- In-Engine Editors, making the creation and modification of voxel content a simple matter
- Integrated keyboard shortcuts and undo/redo support throughout
- VoxelObjectEditor, create and modify voxel content in-scene
- Offers many operations, such as: adding, removing, swapping, filling and more
- Apply operations individually, by area or by face / extrusion
- Mirror operations over x, y and z axis
- Import files, apply effects and more...
- VoxelSetEditor, create, modify and manage your VoxelSets
- Add, remove, duplicate voxels
- Live interactive 3D and 2D voxel preview
- Many options to get the specific look you want from your voxel
- Readers, used to import files as both static and dynamic voxel content
- Fully integrated with the editor, automatically recognizes and imports files as voxel content
- Image files (jpg, png, and any other supported raster format), quickly create 3D prototypes from 2D content
- Vox files (MagicaVoxel), making it easy and simple to work back and forward between programs
- Color palette files (images, vox, gpl, etc.), allows you to work with the same color palettes across platforms
Wiki / Usage
Getting Voxel-Core
Godot Asset Library (Godot Doc)
Preferably, Voxel-Core is available in the Godot Asset Library, allowing you to add it directly to your project from within Godot. Create or open an existing project and press on the 'AssetLib' tab found at the top of the editor. Once the asset library has loaded, search for 'Voxel-Core'. The top result should be this plugin, press on it and you'll be given the option to download Voxel-Core. Press to download and once it's completed Godot will ask you to select what you'd like to install. If you only want the plugin then only select the addons
folder, but you can also choose to install anything else in this repository such as the examples
folder.
Clone / Download
If for whatever reason you don't want to or can't download Voxel-Core via the in-engine Godot asset library, then you can always clone or download this repository directly. Once you've cloned or downloaded this repository, you can import it directly into Godot as a project to view the various examples and edit them directly. You may as well move the plugin's folder directly into your own project’s addons
folder.
NOTE: After adding Voxel-Core to your project you'll need to activate it in your project's Plugins
configuration!
<p align="center"> <a href="https://godotengine.org/asset-library/asset/465" style="vertical-align: middle;"> Asset Library </a> <a href="https://github.com/ClarkThyLord/Voxel-Core/blob/master/LICENSE" style="vertical-align: middle;"> MIT LICENSE </a> </p>