View Full Version : Sky Texture Problems
MrSniper
2003-08-12, 09:45 PM
EDIT: Fixed my problem, and that sky looked fugly.
TerroX
2003-08-13, 07:57 AM
Tell solution so others dont have same problem.
Was it texture size not being square?
512x512
256x256
128x128 etc
or too big? not sure if sky textures can be larger than 512x512 (well only insane people would want 1024x1024 right?)
MrSniper
2003-08-13, 02:21 PM
Basic breakdown to for making sky textures (thanks to Chem for help with this):
1. Textures must be exactly 512x512. You will need 5 such textures + a 32x32 texture.
2. Textures work like this: texture1 - texture4 are applied to the N E S W sides of the skybox, and texture5 is applied to the roof of the skybox. Texture6, the small 32x32 one, I don't know exactly what it does but jsut make it reflect the general color of your sky.
3. Every sky set is control by a .dml file. Organize the .dml just like any of the others (you can edit them in notepad or TribalIDE) with textures 1-5 each on their own line in decending order, then texture6 on the next line, and then texture5 repeated on the next line.
4. To get your skybox sides to mesh correctly and create the illusion of a flat sky take the four N E S W images at 112.5 FOV, each image at a 90 degree rotation from the last image. I am assuming your using Bryce or some other 3d program to make your skies at this point.
5. place your 6 images and your dml in a folder under the /textures/skies/ folder or right in that root folder and then go into your map editor.
6. edit the Media section of the Sky - Sky element in your map editor and change the filename and path accordingly to reach your new sky.
Dip or Chem please correct me on anything I forgot or messed up.
vBulletin® v3.6.3, Copyright ©2000-2010, Jelsoft Enterprises Ltd.