Voxel Play is a procedural, fast environment based on cubes plus a collection of tools to speed up your game development. It leverages highly optimized code, including geometry shaders, GPU instancing, compute buffers and texture arrays, to generate beautiful, rich, vast infinite worlds which can be customized and extended in many ways.
Voxel Play provides an integrated solution for sky, terrain, water, vegetation, physics, world interaction, UI, inventory and more.
*** Current Features ***
The goal for Voxel Play is to provide an easy to use but powerful and extensible rule-based voxel engine that fills the open spaces of your world while it allows you to edit any number of areas.
Template based - Voxel Play works with Scriptable Objects to create world, biomes, voxels and model definitions. Each definition is a set of generation rules plus textures and sounds: a world is composed of several biomes which model the type and shape of terrain as well as the vegetation (bushes, trees, ...).
- Define any number of worlds, biomes, models and voxels within the Unity Editor and model your world in interactive mode at runtime using the same interface (anything you modify gets saved).
- Activate the Constructor: a special area where you can define custom, reusable models (like trees or buildings) and stamp them massively according to biome rules.
Extensible - Comprehensive set of runtime events (ie. OnChunkBeforeCreate). - Allows custom terrain generators. - Plugable detail generators. Develop your own spawner class or reuse the provided examples, and add them to the world generator in the inspector. - Full C# and shader source code included.
Flexible Geometry shaders, GPU instancing, compute buffers and other advanced rendering features are automatically disabled if the platform does not support them.
Ready to Use with Demo Scenes Voxel Play comes with 5 demo scenes including lot of textures, sounds and predefined biomes and voxels you can use in your project.
Core Features - Performance. Uses geometry shaders to dramatically reduce vertex-data stream size. Automatically fallbacks to high performance custom vertex/fragment shaders for platforms not supporting geometry shaders. - Customizable chunk pool system. - Integrated ambient occlusion. - Integrated fog with sky blending. - Smart voxel & chunk octree-based culling system for optimized chunk generation & voxel count. - Multi-threading support. - Automatic NavMesh generation. - Greedy meshing (greatly reduces vertex count for colliders, NavMesh and other voxel types, like clouds). - Standard Unity shadows support. - Standard Unity collider system support - Smooth Lighting (light spread / voxelized Global Illumination) - POM (Parallax Occlusion Mapping) using Relief Mapping technique. - Supports Normal maps. - Emission / Glow effects - In-editor rendering capability. See the world inside the SceneView at design time. - Torch lights and point light support with blinking effect. - High-performance lighting system. - Fast ray-cast system. - Destructible environment. - Voxel hit and destruction sounds per type - Voxel damage cracks. - Voxel damage particles with object pooling. - Voxel custom footfalls. - Color-based, transparent, cutout, textured and custom vegetation and water voxel rendering variants. - Custom-shape voxels (eg. half-blocks). - GPU instanced custom voxels with compute buffers option. - Native voxel rotation. - Dynamic voxels (apply transforms). - Collapsing structures. - Connected textures. - Animated textures. - Customizable outline effect integrated in shader. - Customizable chunk size (16 or 32). - VR compatible (multi-pass, Single Pass Stereo and Single Pass Instanced).
Terrain Features - Multi-step flexible generator: allows you to combine different heightmaps and operations producing rich and varied geography including mountains, valleys, rivers, islands, beaches, canyons, plateau, ... 20 available operation types (and more to come) to play with. - Procedural voxel terrain generated automatically at runtime on demand. - Infinite variations based on seed. - Unity terrain/SpeedTree/vegetation system to Voxel Play Environment converter. Convert your existing terrain to a voxel scene with a couple of clicks! - Optionally provide your own voxels, modify the generated chunks before they're rendered or even plug-in your own terrain generator based on a given template. - Biome support (grassland, desert, forest, rainforest, tundra, taiga, snow, beach, shrubland and bare) - Biome map explorer window. Visualize biome distribution on any area in the world. - Cave system. A default cave generator is provided in the demo world. Modify it or add different cave system generators to create compelling underworlds. - Village/buildings system. A default building spawner is provided which you can extend with your own village requirements. - Curved effect. One click and get a curved environment with custom curve intensity. Note: this option does not generate fully spherical worlds but produces a curved effect over infinite terrain giving the impression of a spherical world.
Water System - Voxelized water system with no redundant face overlap. - Advanced flooding system. - Procedural, variable-height water voxels with slope and flow animation.
Vegetation - Voxel style, animated grass and trees per biome. - Can use custom prefabs for vegetation and trees.
Sky system - Custom voxelized skybox. - Day/night cycle, blinking stars and cool dawns. - Voxelized animated clouds that cast shadows over terrain. - Distance fog with skybox blending.
Character Controller - Includes First-Person and Third-Person controllers adapted to work with the voxel environment: - Walk/Run. - Crouching. - Hanging/peeking on edges. - Fly. - Swimming & diving. - Footfalls. Different sounds based on terrain. - Includes a fully animated Hero model sample from Dungeon Mason. - Voxel Play can also work with other character controllers.
UI - On-screen console, can be shown pressing "F1". - Shows data useful to debug/help the user customize the world. - Free pixel font included. - Integrated FPS counter. - Crosshair. Color changes to remain visible depending on background. Animates over targets. - Thumbnail of currently selected material with name. - Player inventory.
Items & Inventory System - Collect voxels. - Select active item & build, including voxels, objects and structures (ie. buildings). - Create voxel and complex structures objects at runtime. - Interactive objects framework with events.
Load/Save - Load and save functionality included. Optimized file size. - Save to file or memory buffers.
Custom Tools - Door creation tool. - Texture voxelizer tool. Create 3D objects from single textures. - Noise texture generators (tileable Perlin and Cellular noise supported). - Imports Qubicle models (binary format or .qb). Generates optimized voxel meshes. - Custom multi-textured cube generator tool.
Ready to use model shaders - Optimized shaders ready to use for your imported models with per vertex colors, texture, triplanar, daylight handling and integrated fog for best performance.