Creating a Simple 3D Game with XNA/Creating a Sky Sphere
Creating Your World
[edit | edit source]A sky sphere is the boundary surrounding your world, projecting an image which appears to go into the horizon. Creating the sphere itself in Blender is easy. Just create a new UVSphere, with 16 segments and rings. Don't worry about the size for now, we can adjust this in XNA.
![](http://upload.wikimedia.org/wikipedia/commons/3/33/Blender_SkySphere1.png)
Next up, using the same process as with the eye previously, mark the seam down the middle of the sphere, and unwrap it.
![](http://upload.wikimedia.org/wikipedia/commons/2/24/Blender_SkySphere2.png)
With this, paint a simple sea texture onto the image.
![](http://upload.wikimedia.org/wikipedia/commons/b/b2/Blender_SkySphere3.png)
And map it onto the sphere. Finally, with all the faces selected, push space and select 'Edit'/'Normals'/'Flip'.
![](http://upload.wikimedia.org/wikipedia/commons/0/0b/Blender_SkySphere4.png)
What this will do is project the texture inside the sphere instead of outside as with a normal model, allowing you to see the texture if your camera is placed inside it.
Next, export it as before by selecting the object and using the FBX export script.