The terrain is an easygen terrain (nothing special) with the usual keys like layers and terrain… and yes. I have _color in worldspawn.
Here my shader for the terrain:
textures/paz/lmterrain_base
{
qer_editorimage textures/temperate_sd/master_grass_dirt3.tga
q3map_normalimage textures/paz/normalmap_terrain.tga
q3map_lightmapsize 512 512
q3map_lightmapMergable
q3map_lightmapaxis z
q3map_tcGen ivector ( 512 0 0 ) ( 0 512 0 )
q3map_tcMod rotate 37
surfaceparm grasssteps
surfaceparm landmine
}
textures/trc10/terrain_0
{
q3map_baseShader textures/paz/lmterrain_base
{
map textures/temperate_sd/master_grass_dirt3.tga
}
{
map $lightmap
blendFunc GL_DST_COLOR GL_ZERO
tcGen lightmap
}
}
textures/trc10/terrain_1
{
q3map_baseShader textures/paz/lmterrain_base
q3map_foliage models/paz/stein1.md3 3 48 0.1 0
q3map_foliage models/paz/stein2.md3 1.1 48 0.1 0
q3map_foliage models/paz/stein3.md3 1.2 48 0.1 0
{
map textures/temperate_sd/dirt3.tga
}
{
map $lightmap
blendFunc GL_DST_COLOR GL_ZERO
tcGen lightmap
}
}
textures/trc10/terrain_2
{
q3map_baseShader textures/paz/lmterrain_base
{
map textures/temperate_sd/rock_ugly_brown.tga
}
{
map $lightmap
blendFunc GL_DST_COLOR GL_ZERO
tcGen lightmap
}
}
textures/trc10/terrain_3
{
q3map_baseShader textures/paz/lmterrain_base
q3map_foliage models/paz/grass1.md3 0.7 96 0.1 0
q3map_foliage models/paz/grass1.md3 1.2 64 0.1 0
{
map textures/temperate_sd/master_grass_dirt3.tga
}
{
map $lightmap
blendFunc GL_DST_COLOR GL_ZERO
tcGen lightmap
}
}
textures/trc10/terrain_4
{
q3map_baseShader textures/paz/lmterrain_base
{
map textures/temperate_sd/grass_dense1.tga
}
{
map $lightmap
blendFunc GL_DST_COLOR GL_ZERO
tcGen lightmap
}
}
textures/trc10/terrain_0to1
{
q3map_baseShader textures/paz/lmterrain_base
q3map_foliage models/paz/stein1.md3 3 64 0.1 0
q3map_foliage models/paz/stein2.md3 1.1 64 0.1 0
q3map_foliage models/paz/stein3.md3 1.2 64 0.1 0
{
map textures/temperate_sd/master_grass_dirt3.tga
}
{
map textures/temperate_sd/dirt3.tga
alphaGen vertex
blendFunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA
}
{
map $lightmap
blendFunc GL_DST_COLOR GL_ZERO
tcGen lightmap
}
}
textures/trc10/terrain_0to2
{
q3map_baseShader textures/paz/lmterrain_base
q3map_foliage models/paz/grass1.md3 0.7 96 0.1 0
q3map_foliage models/paz/grass1.md3 1.2 64 0.1 0
{
map textures/temperate_sd/master_grass_dirt3.tga
}
{
map textures/temperate_sd/rock_ugly_brown.tga
alphaGen vertex
blendFunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA
}
{
map $lightmap
blendFunc GL_DST_COLOR GL_ZERO
tcGen lightmap
}
}
textures/trc10/terrain_0to3
{
q3map_baseShader textures/paz/lmterrain_base
q3map_foliage models/paz/grass1.md3 0.7 96 0.1 0
q3map_foliage models/paz/grass1.md3 1.2 64 0.1 0
{
map textures/temperate_sd/master_grass_dirt3.tga
}
{
map textures/temperate_sd/master_grass_dirt3.tga
alphaGen vertex
blendFunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA
}
{
map $lightmap
blendFunc GL_DST_COLOR GL_ZERO
tcGen lightmap
}
}
textures/trc10/terrain_0to4
{
q3map_baseShader textures/paz/lmterrain_base
q3map_foliage models/paz/grass1.md3 0.7 96 0.1 0
q3map_foliage models/paz/grass1.md3 1.2 64 0.1 0
{
map textures/temperate_sd/master_grass_dirt3.tga
}
{
map textures/temperate_sd/grass_dense1.tga
alphaGen vertex
blendFunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA
}
{
map $lightmap
blendFunc GL_DST_COLOR GL_ZERO
tcGen lightmap
}
}
textures/trc10/terrain_1to2
{
q3map_baseShader textures/paz/lmterrain_base
q3map_foliage models/paz/stein1.md3 3 64 0.1 0
q3map_foliage models/paz/stein2.md3 1.1 64 0.1 0
q3map_foliage models/paz/stein3.md3 1.2 64 0.1 0
{
map textures/temperate_sd/dirt3.tga
}
{
map textures/temperate_sd/rock_ugly_brown.tga
alphaGen vertex
blendFunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA
}
{
map $lightmap
blendFunc GL_DST_COLOR GL_ZERO
tcGen lightmap
}
}
textures/trc10/terrain_1to3
{
q3map_baseShader textures/paz/lmterrain_base
q3map_foliage models/paz/stein1.md3 3 64 0.1 0
q3map_foliage models/paz/stein2.md3 1.1 64 0.1 0
q3map_foliage models/paz/stein3.md3 1.2 64 0.1 0
q3map_foliage models/paz/grass1.md3 0.7 96 0.1 0
q3map_foliage models/paz/grass1.md3 1.2 64 0.1 0
{
map textures/temperate_sd/dirt3.tga
}
{
map textures/temperate_sd/master_grass_dirt3.tga
alphaGen vertex
blendFunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA
}
{
map $lightmap
blendFunc GL_DST_COLOR GL_ZERO
tcGen lightmap
}
}
textures/trc10/terrain_1to4
{
q3map_baseShader textures/paz/lmterrain_base
q3map_foliage models/paz/stein1.md3 3 64 0.1 0
q3map_foliage models/paz/stein2.md3 1.1 64 0.1 0
q3map_foliage models/paz/stein3.md3 1.2 64 0.1 0
{
map textures/temperate_sd/dirt3.tga
}
{
map textures/temperate_sd/grass_dense1.tga
alphaGen vertex
blendFunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA
}
{
map $lightmap
blendFunc GL_DST_COLOR GL_ZERO
tcGen lightmap
}
}
textures/trc10/terrain_2to3
{
q3map_baseShader textures/paz/lmterrain_base
q3map_foliage models/paz/grass1.md3 0.7 96 0.1 0
q3map_foliage models/paz/grass1.md3 1.2 64 0.1 0
{
map textures/temperate_sd/rock_ugly_brown.tga
}
{
map textures/temperate_sd/master_grass_dirt3.tga
alphaGen vertex
blendFunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA
}
{
map $lightmap
blendFunc GL_DST_COLOR GL_ZERO
tcGen lightmap
}
}
textures/trc10/terrain_2to4
{
q3map_baseShader textures/paz/lmterrain_base
{
map textures/temperate_sd/rock_ugly_brown.tga
}
{
map textures/temperate_sd/grass_dense1.tga
alphaGen vertex
blendFunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA
}
{
map $lightmap
blendFunc GL_DST_COLOR GL_ZERO
tcGen lightmap
}
}
textures/trc10/terrain_3to4
{
q3map_baseShader textures/paz/lmterrain_base
q3map_foliage models/paz/grass1.md3 0.7 96 0.1 0
q3map_foliage models/paz/grass1.md3 1.2 64 0.1 0
{
map textures/temperate_sd/master_grass_dirt3.tga
}
{
map textures/temperate_sd/grass_dense1.tga
alphaGen vertex
blendFunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA
}
{
map $lightmap
blendFunc GL_DST_COLOR GL_ZERO
tcGen lightmap
}
}
This is my sky shader:
textures/paz/wolken
{
qer_editorimage textures/paz/qer_sky.tga
q3map_lightImage textures/paz/sky_detail1.tga
q3map_sunExt 0.4 0.4 0.45 400 -30 45 16 12
q3map_skyLight 140 3
surfaceparm sky
surfaceparm noimpact
surfaceparm nolightmap
surfaceparm nodlight
skyparms textures/paz/env/sky 1500 -
nopicmip
q3map_nofog
{
map textures/paz/sky_detail1.tga
tcMod scroll 0.001 -0.003
rgbGen identityLighting
}
{
map textures/paz/sky_mask1.tga
blendFunc GL_ONE_MINUS_SRC_ALPHA GL_SRC_ALPHA
tcMod transform 0.25 0 0 0.25 0.1075 0.1075
rgbGen identityLighting
}
}