What's a Skybox?
A Skybox is a 360-degree orb that transforms your environment. You can turn any 360-degree photo into a Skybox using the following steps.
Want to make a 360-image/photosphere from any place on Earth using Google Street View? Check out this tool: https://svd360.istreetview.com/. Then use the image that gets exported into the steps below.
To Make a 360 Orb:
- Download this .zip file, which contains a .jpg texture, .glTF model, and a .bin file.
- Spatial Skybox Sample - Double Side.zip - you can view the orb from both inside and outside
- Spatial Skybox Sample - Single Side.zip - you can view the orb only from the inside
- Unzip the file and replace the texture.jpg file with your own 360 image. Make sure the name of the replaced file is still ‘texture.jpg’.
- If the texture file is a non-JPEG file, they should be converted prior to uploading them into the folder. Files can be converted from your computer by saving it as a jpeg.
- If you don't want to convert it and want to use an image that isn't a jpeg, you will have to open scene.gltf and at line 126 there is "uri": "texture.jpeg" which can be replaced with a .png image.
3. Drag all three files simultaneously (Spatial Skybox Sample.gltf, Spatial Skybox Sample_data.bin, texture.jpeg) into http://glb-packer.glitch.me/ to make a glb file that can be uploaded.
NOTE: To ensure the files import correctly into the GLB Packer tool (see step 3) do not change the sample file names. You can rename the GLB file once it gets exported from the GLB Packer tool.
Learn about setting a Skybox as your Custom Environment here.