Jump to content

Recommended Posts


(I'll teach you how to make that)


This is a step by step guide to creating, exporting, and editing a skybox to make it ready for KSP. I made my first skybox mod the other day and several people wanted me to make a tutorial on how to make skyboxes in Space Engine. I haven't found any other tutorials on the subject so I guess I'm making one. 


Step 1: Download Space Engine

Go here to download the latest version of Space Engine. Space Engine is a free game that simulates the universe. It includes real and procedurally generated stars, nebulae, and galaxies. 


Step 2: Finding a location in Space Engine

You can either fly around (w, a, s, d, to move, q and e to rotate, scroll wheel to change speed, left mouse to pan) or use the search button to search for a specific star, nebula, or galaxy that exists in real life.


For this tutorial I will be making a skybox of the Crab Nebula, but you can choose your own location. To go to the location, hit "Go to".


Step 3: Positioning

Once you've found a location, you will want to position yourself in the place you would like your skybox. I recommend aligning yourself with the galactic plane so it is flat across the center of the screen. You can move inside a nebula as well. 

Here is what my screen looked like from within the crab nebula:



Step 4: Settings

There are a lot of different settings in Space Engine. To access settings, press escape -> settings -> graphics. The settings we will be focusing on are overbright and desaturate dim stars. You can play around with other settings, but these 2 settings mainly control how many stars are visible in your skybox. Lower levels of overbright = less visible stars and higher levels of overbright = more visible stars. If you want LOTS of stars in your skybox, 50-60 is a good number for this setting. I also frequently change the overbright setting to get the desired effect. 

The next setting is desaturate dim stars. Higher values of this setting make all but the brightest stars white and colorless. Lower values of this setting make the dimmest stars have slight color. It's a subtle difference, but personally I prefer to leave this in the lowest setting possible. That way when we edit the image later we get a more colorful skybox.

Here are my settings: 


You can always change these to you liking.


Step 5: Exporting

Once you have your desired settings, we will export our skybox. Press escape -> editor -> export skybox. In the resolution box, you will put 4096 if you want a 4k skybox, but you can put whatever resolution you want. You should to save it as a .png. Leave the alpha box unchecked.

Here is what my export screen looked like:


When your ready to export, hit export. This may take a few minutes.

Next, navigate to your Space Engine folder. By default (on windows), it is C:\SpaceEngine\export

You should have something that looks somewhat like this:

You can open up the pictures and see if you're happy with them. If you want to make changes, just go back into space engine, change what you want to, and re-export. WARNING: every new export will override the old files. If you want to keep your exported images, move them to a new folder before exporting again. 


Step 6: Preparing for KSP

To actually change the skybox in KSP, you will need to install the latest version of Texture Replacer Replaced

You can't just put these pictures into KSP yet. First you need to change the names so Texture Replacer can read them. Rename the files as follows:

  • Rename sky_neg_x to GalaxyTex_NegativeX
  • Rename sky_neg_y to GalaxyTex_NegativeY
  • Rename sky_neg_z to GalaxyTex_NegativeZ
  • Rename sky_pos_x to GalaxyTex_PositiveX
  • Rename sky_pos_y to GalaxyTex_PositiveY
  • Rename sky_pos_z to GalaxyTex_PositiveZ

Now you should have something that looks like this:


Now let's test it. In your KSP folder, navigate to Gamedata -> TextureReplacerReplaced -> default

Copy your files into the default folder and boot up KSP!

In theory, you now have a beautiful skybox:


However, Space Engine isn't perfect and it looks like some of the sides of our skybox are in the wrong place!


This happens sometimes when you export from Space Engine. It only seems to happen sometimes, but it isn't hard to fix!

In this case, I renamed:

  • GalaxyTex_NegativeY to GalaxyTex_PositiveY
  • and then GalaxyTex_PositiveY to GalaxyTex_NegativeY

You may need to move 1 of them out of the folder temporarily because windows doesn't accept 2 files with the same name in the same folder. 

Then you need to rotate the GalaxyTex_PositiveY. To do this, right click on the picture, click edit with photos, crop and rotate, click rotate twice, done, save. There is some trial and error to get the right rotation with this one. Just rotate, boot up ksp, and try again.

Sometimes there will also be seams in your skybox where you can clearly see the edge between 2 sides. The fix for this is re-exporting the skybox from Space Engine. 


Now let's boot up KSP again!

In theory all the sides of you skybox are lined up with no seams.

If there are no problems with your skybox so far, you can move onto the next step.


Step 7: Photo Editing

Now here is where you make your skybox more interesting. You can play around with photo settings to get the desired effect and make your skybox pop! You can use Photoshop or even the default Windows photos app! I will show how to do it in the Windows photos app because I don't have much experience with Photoshop.

You will right click the photo and click edit with photos. Then click adjust. There are little arrows next to light and color. Click those to bring down more options. Now here is where you just play around with photo settings. There's no particular guide for this part, just experiment and create something amazing! I do recommend dragging the color slider all the way to the right for a more colorful skybox though. These can make your skybox truly unique. Make sure to use the same adjustments for each photo though, otherwise it will look quite strange. Always keep a copy of the original photos in case you mess up with the adjustments.


Step 8: Screenshots and Sharing!

Take some screenshots of you complete skybox! If you're feeling up to it, you can release it as a mod on SpacedockCurse, and The Forums. Make sure to read the add-on posting rules first.

Here is the finished product of this tutorial:




This skybox will be available for download HERE with my other skyboxes. 

Thank you for reading!

I hope you learned something. I look forward to seeing what you can make! Be sure to post your creations down below! If you have any questions, feel free to ask me in the comments.

Edited by Nucleartaxi
Link to post
Share on other sites

Ok, so I made my first skybox.

but, I see banding once I get it into KSP, see the attached link (not posting as an image because Imgur will mess it up):


This was exported from SE using 4K mode, no alpha.

What did I do wrong, or, what do I need to do to fix it?


Link to post
Share on other sites
On 9/7/2017 at 6:34 PM, linuxgurugamer said:

Ok, so I made my first skybox.

but, I see banding once I get it into KSP, see the attached link (not posting as an image because Imgur will mess it up):


This was exported from SE using 4K mode, no alpha.

What did I do wrong, or, what do I need to do to fix it?


This part is a bit finicky. It looks like it's only the 2 y sections of the skybox. You need to either rotate them and if that doesn't work, flip the 2 y skyboxes. Sorry if this is vague, just rinse and repeat and eventually it should work. If you have any more questions please let me know.

Link to post
Share on other sites
  • 4 weeks later...
This thread is quite old. Please consider starting a new thread rather than reviving this one.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Create New...