Decorating with custom voxels (wall pictures, carpets and other stuff)

Modified on Fri, 23 Apr 2021 at 11:37 AM

You can add any number and variation of decorative elements to your world by using custom voxel and appropriate settings.


The Earth demo world includes 2 examples of decorative voxels:


- A wall picture (Mona Lisa). This custom voxel uses a simple prefab with a quad mesh and a voxel play material attached. The voxel definition has an offset of 0.49 in the z axis so when placing on a wall, the voxel is shifted and placed directly over the surface of the wall. Notice the "Place On Wall" setting under Placement Options. This option ensures proper alignment of the voxel when placed this way.


- A carpet. This custom voxel uses a prefab with a plane mesh and a voxel play material attached. The voxel definition has an offset of -0.49 in the y axis so it's placed on the floor. The scale is also adjusted since by default the plane mesh is very large. We use the "Place Oriented to Player" setting under the Placement Options so it's rotated automatically facing the user.




Was this article helpful?

That’s Great!

Thank you for your feedback

Sorry! We couldn't be helpful

Thank you for your feedback

Let us know how can we improve this article!

Select atleast one of the reasons

Feedback sent

We appreciate your effort and will try to fix the article