Tremulous Forum
Media => Mapping Center => Topic started by: ShadowNinjaDudeMan on October 26, 2007, 10:35:00 am
-
Im trying to make a skybox for my map, I have 5 jpgs of the skybox, which I opened in PHShop and converted to targas.
These are in a directory of: base/env/citysb
In the base/scripts folder I have citysb.shader:
textures/citysb/city_skybox
{
qer_editorimage textures/citysb/city_22.jpg
surfaceparm noimpact
surfaceparm nolightmap
q3map_surfacelight 40
q3map_sunExt 0.9 0.95 1 40 45 60 1.5 8
skyParms env/citysb/city - -
}
In the shaderlist.txt I have added citysb to the list.
In base/textures/citysb I have city_22.jpg
In the GTKRadient Textures and Shaders list citysb does come up as a directory, and inside it is the textures city_22, once just as a regular image, and once more as a city_skybox shader (white outline).
However when I build the map ((Single) BSP -meta) it only shows up as the strange layering thing, sorted with /r_clear 1 to provide solid pink background.
What have I done wrong?
Any suggestions will help, thanks.
-
Hath thou tried using a known working skybox shader wih the images changed for yours?
-
Shouldn't it be base/citysb/env
And the 6 textures should be named "sky_xx.tga" where for the corresponding sides it has to have xx replaced with ;bk ; dn; ft; lf; rt; up.
-
bugger I only have 5...
-
did u use terragen to make the skybox? cuz i did that, and then i copied atcs shader, renaming apropriatly, and voila! it worked!
-
Na, Ive got terragen, but Im planing to use that later, meh, I dunno, Ill pobably try it now actually.