Home » Guides » Audiosurf 2 - How to Make High Quality Space Skyboxes

Audiosurf 2 - How to Make High Quality Space Skyboxes

Created by aep   ::   Sep 8, 2019    
Audiosurf 2 - How to Make High Quality Space Skyboxes

This guide will teach you how to make a near infinite amount of high quality skyboxes. Six images per skybox are used, as opposed to just one, which yields a cleaner result. It is a very quick and easy process.

Making High Quality Space Skyboxes with Ease



Setting up your skin folder

Find the skin you want to add a space skybox to. The skins folder for Audiosurf 2 tends to be at

'C:\Program Files (x86)\Steam\steamapps\common\Audiosurf 2\skins'

If you can't find it this way, right click Audiosurf 2 in your steam library, properties, local files, browse local files, skins.    

Open the folder for your desired skin, and inside it create a new folder called '1'. If you want the skin to pick between multiple skyboxes, simply add more folders that ascend upwards from 1. e.g. '1', '2', '3'...

Audiosurf 2 - How to Make High Quality Space Skyboxes

Now we will set up the code so it builds the skybox from six images as opposed to one. Open the .lua file in the skin folder, and using control+f search for 'skybox'. Replace the existing skybox code with the code I have provided below.

skinNumber = tostring(math.random(1, 1));

SetSkybox{
      custom={
_FrontTex = skinNumber .. "/sky_pos_x.png",
_BackTex = skinNumber .. "/sky_neg_x.png",
_RightTex = skinNumber .. "/sky_neg_z.png",
_LeftTex = skinNumber .. "/sky_pos_z.png",
_UpTex = skinNumber .. "/sky_pos_y.png",
_DownTex = skinNumber .. "/sky_neg_y.png"
},
 }

The second '1' in the first line of the code is what you should change to match the amount of skyboxes you want. If you have 3 numbered folders in your skin folder, make this number 3. You get the idea.

Your .lua file should look similar to this:

Audiosurf 2 - How to Make High Quality Space Skyboxes

Downloading the skybox images

Open this link

Don't be overwhelmed. It's very easy to use.

If the website doesn't load, I recommend using firefox.

Pick the settings you want. My personal favourite setup is as follows:



Now keep randomising the seed until you reach a skybox you like.

The most important setting is the resolution, as this will not look nearly as good in anything less than 4k. Also ensure that 'unified texture' is NOT checked as otherwise you won't have six images to download.

Now using the facesheet below, right click on each of the squares of the actual skybox, and name them accordingly. Make sure you add 'sky_' before what the facesheet says. For example the far left box should be saved under the name 'sky_neg_z'.



Audiosurf 2 - How to Make High Quality Space Skyboxes

Once you've downloaded them all, your folder named '1' should look similar to this:

Audiosurf 2 - How to Make High Quality Space Skyboxes

Repeat this process as many times as you wish, just make sure that the folders are in ascending order, and that there are only 6 images per folder. If you give a picture the wrong name, the skybox will not line up and will therefore look bad.

Game:   Audiosurf 2
Created by aep.