Background Tutorial¶
NOTE: THIS TUTORIAL APPLIES TO VASTPARK PLAYER VERSION 1.5 BUILD 50+
Create a skybox (cubemap) texture¶
- A background asset is basically a really big box that always surrounds the viewer
- This box can be unwrapped and mapped to a rectangular texture. This texture is really just 6 panels, each mapping to a side of the skybox.
- Create your own texture (where its width is 6 times its height). Here is a skybox texture example from Horde3D in JPEG or DDS format.
Add the texture to the background asset¶
- Download an example park with background
- Unzip sky.background (you may need to rename the file extension to '.zip')
- Replace the textures/skybox.dss texture with your own cubemap texture
- Open the material/skybox.material.xml file, and replace the path textures/skybox.dds with your own texture file name
- Re-zip the geomtry, materials, and textures directories along with the skybox.scene.xml into one file
- Rename the zipped file's extension to .background, and your background asset is done!