hi all!
i dont know how to make terrain to get smooth together… i have tried several shader but nothing works
textures/gma4/terrain_base
{
q3map_lightmapaxis z
q3map_lightmapmergable
q3map_lightmapsize 512 512
q3map_tcGen ivector ( 128 0 0 ) ( 0 128 0 )
}
textures/gma4/terrain_0
{
q3map_baseshader textures/gma4/terrain_base
surfaceparm landmine
surfaceparm grasssteps
{
map textures/temperate_sd/grass_dense1.tga
tcMod scale 0.250 0.250
}
{
map $lightmap
blendFunc GL_DST_COLOR GL_ZERO
}
}
textures/gma4/terrain_1
{
q3map_baseshader textures/gma4/terrain_base
surfaceparm landmine
surfaceparm grasssteps
{
map textures/temperate_sd/rock_grayvar.tga
tcMod scale 0.250 0.250
}
{
map $lightmap
blendFunc GL_DST_COLOR GL_ZERO
}
}
textures/gma4/terrain_0to1
{
q3map_baseshader textures/gma4/terrain_base
{
map textures/temperate_sd/grass_dense1.tga
tcMod scale 0.250 0.250
}
{
map textures/temperate_sd/rock_grayvar.tga
blendFunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA
alphaGen vertex
tcMod scale 0.250 0.250
}
{
map $lightmap
blendFunc GL_DST_COLOR GL_ZERO
}
}
textures/gma4/terrain_1to0
{
q3map_baseshader textures/gma4/terrain_base
{
map textures/temperate_sd/rock_grayvar.tga
tcMod scale 0.250 0.250
}
{
map textures/temperate_sd/grass_dense1.tga
blendFunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA
alphaGen vertex
tcMod scale 0.250 0.250
}
{
map $lightmap
blendFunc GL_DST_COLOR GL_ZERO
}
}
i dont know what terrain_base does nor how i can put this shader on my map…
in this case i use 4 brushes… the first brush-top is textured with terrain_0 the next with terrain_0to1 then terrain_1 and at last terrain_1to0
the 1st (0) brush looks like: grass_dense1.tga
the 2nd (0-1) brush looks like: rock_grayvar.tga
the 3rd (1) brush looks like: rock_grayvar.tga
the 4th (1-0) brush looks like: grass_dense1.tga
but it doesnt look like the hills on radar
plz. help …
(how do i use the common/terrain shader?)
