I’m sure the solution to this is obvious…but not to me.
The texture for my sky shader wraps around…thats ok, but I’d like to shift the texture a bit downwards so that the ‘wrapped around part’ is not visible.
For normal textures in Radiant this is easy enough…press ‘S’ and adjust the shift values. But how can this be done with the texture in a shader?
Here is how it looks now (well, the texture that need shifting at least…ignore the terrible colours!):

See that black area behind the structure…I’d like to move that further down!
And here is the shader (with not relevant stuff removed):
textures/lhv/lhvsky
{
nocompress
qer_editorimage textures/skies/sky_8.tga
q3map_lightimage textures/skies/n_blue2.tga
q3map_nofog
q3map_globaltexture
q3map_lightsubdivide 256
q3map_sun 0.99 0.53 0.16 70 180 10
q3map_surfacelight 50
surfaceparm noimpact
surfaceparm nolightmap
surfaceparm sky
skyparms - 512 -
sunshader textures/lhv/latesun
{
//map textures/skies_sd/wurzburg_clouds.tga
map textures/lhv/lh_sky2.tga
tcMod scale 1 15
//tcMod scale 1.0 1.0
//tcMod scroll 0.003 -0.0015
tcMod transform 1 0 0 1 -1 -1
rgbGen identityLighting
}
}
leifhv
