Tremulous Forum
Media => Mapping Center => Topic started by: nubcake on November 17, 2008, 10:16:26 am
-
Hi guys, im trying to set up a new skybox but they dont want to work. My standard skybox setup which works is this
textures/church/shaderlab_terrain_sky_s
{
qer_editorimage textures/church/shaderlab_terrain_sky_arc_masked.tga
q3map_sunExt 0.5 0.37 .30 140 230 60 2 1
q3map_lightRGB 0.7 0.8 1.0
q3map_lightmapFilterRadius 0 64
q3map_skyLight 90 3
surfaceparm sky
surfaceparm noimpact
surfaceparm nolightmap
skyparms textures/church/shaderlab_terrain_env/sky 1024 -
nopicmip
nomipmaps
{
map textures/church/shaderlab_terrain_sky_clouds.tga
tcMod scale 3 3
tcMod scroll 0.005 -0.0125
rgbGen identityLighting
}
{
map textures/church/shaderlab_terrain_sky_arc_masked.tga
blendFunc GL_ONE_MINUS_SRC_ALPHA GL_SRC_ALPHA
tcMod transform 0.25 0 0 0.25 0.1075 0.1075
rgbGen identityLighting
}
}
But the new one im trying to make is this (and ive used various shaders/skyboxes to no effect
textures/emerald/emerald_skybox
{
qer_editorimage textures/emerald/emerald_view.tga
surfaceparm noimpact
surfaceparm nolightmap
q3map_globaltexture
q3map_lightsubdivide 256
q3map_surfacelight 50
surfaceparm sky
q3map_sun 0.6 0.6 0.6 100 120 60
skyparms env/emerald/emerald - -
}
All the textures are in the right folders but when the map loads, the sky just has the missing texture image. In console it says "trying to load textures/emerald/emerald_view.TGA..." under the loading of scripts. Im using pretty much the exact same shader/textures as ATCS (both skyboxes came from the same site), yet mine dont want to work. Any ideas?
-
qer_editorimage textures/emerald/emerald_view.tga is for radiant only. The actual textures are indicated by skyparms env/emerald/emerald - -. You should have an env/emerald directory that contains the 6 environment map textures: emerald_bk emerald_dn etc..
It is possible that Radiant can't load the qer_editorimage and/or that Tremulous can't load the environment map but these are two different issues.
You can point the qer_editorimage to one of the textures, or use a different image, like a thumbnail of the skybox. In any case, it won't be used ingame.
-
Thanks for the reply. Radiant can see the textures and the shaders but in game it just comes up with errors. Ill work it out ;)