9. FAQ

Custom material / shaders
Voxel Play supports two groups of voxels in terms of rendering features: - Default/basic types: opaque, cutout, vegetation, water, transparent and opaque w...
Sat, 25 Apr, 2020 at 10:47 AM
Shadows flicker problem in Scene or Game view
Shadows flicker in Scene View: This is due to the near/far clip of the SceneView camera using wrong values which cause precision issues in the depth buffer...
Wed, 17 Jul, 2019 at 2:22 PM
Change default / starting player items
You can define which items can have the player at start in two ways: 1) Specify them in the Items array of the Voxel Play Player component: 2) ...
Mon, 8 Jul, 2019 at 7:05 PM
How to implement my own inventory system, console or UI?
Voxel Play comes with a default UI which includes a debug window, a command console and inventory UI. These components are part of the "Optional Game ...
Sun, 15 Sep, 2019 at 8:44 PM
How to spawn mobs or objects safely
When spawning a mob (or object) it's important to ensure the chunk under the mob is generated and rendered. Please note that if the chunk is generated ...
Mon, 15 Jul, 2019 at 2:04 PM
Can I use voxels of smaller size?
Voxel Play supports voxels of 1m in size for terrain generation. It uses many optimizations and occlusion algorithms to reduce vertex count, and this calcul...
Thu, 16 Apr, 2020 at 9:11 AM
URP support
Voxel Play 7 comes with dedicated shaders for: built-in pipeline, and Universal Rendering Pipeline (URP). To enable URP support on Unity 2019 or lat...
Tue, 19 May, 2020 at 5:05 PM
Water is not transparent in URP
In URP (Universal Rendering Pipeline), the following settings must be used in order to the water to be transparent: 1) In URP asset, enable the Depth Te...
Fri, 22 May, 2020 at 8:34 AM
How to avoid character/mob fall below terrain?
There're a few situations where your character or some other mob fall under the terrain: 1) Voxel Play environment has not finished creating the in...
Wed, 1 Jul, 2020 at 4:40 PM
How to hide voxels?
Voxels can be hidden using the VoxelSetHidden methods. Use VoxelIsHidden to determine voxel visibility (check API section for full list of public methods). ...
Sat, 4 Jul, 2020 at 11:50 AM