Blender Skybox Generator
Current Version: 1.0
[About]:
The SkyBox Generator was a reaction I had to the built-in skyboxes that ship with Unity. While the premade skyboxes are great, I did want something that was completely my own. Since I am awful at art, I figured I would let Blender do it for me. After a couple of hours of tweaking, with finally a nice skybox as a result, it dawned on me that this may be useful to other indie developers.
Oh - and it’s free.
My contribution to fellow indie developers everywhere.
[Versions/Files]:
v1.0 - Download
This is the most basic version of the SkyBox Generator. It’s pretty much the scene from the Noob-To-Pro Tutorial that outlines creating one’s own skyboxes, except it’s already done for you.
[Controls]:
-Azimuth/Zenith Blend: Select the “SkyMapper” dome (the top one). Select the Materials->Textures->Gradientizer texture. Hit the Color button, and play with the color band to change how the azimuth and zenith blend.
-Clouds: Select the “SkyMapper” dome (the top one). Select the Materials->Textures->SkyMapper texture. Hit the Color button to play with cloud sizes and color. Change the NoiseValue to get different cloud densities.
-Rendering: Render the scene (F5), then select the “CubeMapGenerator” cube (in the center of the scene). Select Materials->Textures, the cube only has the EnvMap texture on it. In the neighboring pane, there is a button labeled “Save EnvMap”. Select a location (preferably inside your game project) and save the jpeg file.
[Using Your Skybox in Unity]:
In Unity, create a new Material->RenderFX/Skybox. Put your Skybox image as the image in all six slots. Blender’s EnvMap rendering outputs in the following format (this courtesy of the Noob-to-Pro Tutorial:)
Left | Back | Right
Down | Up | Front
Unity detects tiles starting at the bottom left corner, so your settings will look like this:
TileX (all faces): 0.333
TileY (all faces): 0.50
Offsets:
Down: (0,0)
Up: (0.34,0)
Front: (0.67,0)
Back: (0.34,0.5)
Left: (0,0.5)
Right: (0.67,0.5)
I suggest playing with all of these values to secure a perfect fit. Editing the skybox image file may be necessary, too.
[Screenshots]:
This is a sample skybox. The artifact is my error - I mapped it on the cube wrong. Told you I suck at art, almost instinctively.
This is a more recent addition - now, starfields and nebulae have been implemented in the SkyBox generator - some great nighttime skyboxes are only clicks away!
[Updates]:
Version 2.0 is going to streamline this. I’m creating a Python interface in Blender, so that it’s more centralized and user-friendly. I’m also considering adding additional features like aurorae and nebulae.
If you have any suggestions or question, please send me a private message!
Enjoy my evil(e) creation!