VirtualRocks Unity

VirtualRocks makes tiled meshes that, when imported and compiled in Unity, can be viewed on a VR headset. The easiest way to view the models is using the VirtualRocks Unity virtual reality application.

1: Getting the Unity project


2: Add new scene

  • Create a copy of sample scene folder.

  • Rename new folder, the unity scene, and the sampleMat to a unique value.

  • Switch the newly created scene by double clicking.

  • Drag the models and textures from your out folder to the meshes folder for your scene, wait for them to import.

  • Drag and drop the tile prefab files into the map folder in the scene previewer.

  • With prefabs selected right click and under “prefab” select “unpack completely”.

  • Right click and select children, then drag into the map folder again.

  • Now use the search bar in the scene previewer to find and delete all the now empty tile objects.

  • Select all the “default” objects and add a sphere collider.

  • Then mark as static and turn off cast and receive shadows.

  • Finally disable the mesh renderer for all “default” objects

  • Move loy_poly prefab into scene, unpack, and mark as static.

  • Disable cast and receive shadows for low_poly.

  • Set the texture for the special material in the scene folder to be the low_poly.jpg

  • Set the material for the low_poly mesh in the scene to be the special material.

  • Scale and rotate all meshes to be roughly the size of the white plane, then remove the plane for the scene.

  • Save and add the new scene to the build.

  • Navigate to the menu scene and add a new option to the dropdown with your scene name.

  • Finally edit the LoadScene script and add a conditional for the index of your scene in the dropdown.

  • Save the menu scene.


3: Build to headset