I have read the other threads about textures not showing up on easygen generated terrain, and tried the things they mentioned and I still cannot get it to work. I have used easygen to generate the terrain, saved the metashader, the alphamap, and used the wolfet templates. Didn’t work, compared my shader to the official ones, almost the same, I am not sure what to do, any help would be apprciated.
Here is my shader file, if that helps
textures/test/terrain_0
{
q3map_baseshader textures/test/terrain_base
surfaceparm landmine
surfaceparm gravelsteps
{
map textures/temperate_sd/master_grass_dirt3.tga
tcMod scale 0.252 0.252
}
{
map $lightmap
blendFunc GL_DST_COLOR GL_ZERO
}
}
textures/test/terrain_1
{
q3map_baseshader textures/test/terrain_base
surfaceparm landmine
surfaceparm gravelsteps
{
map textures/temperate_sd/rocky_sand.tga
tcMod scale 0.252 0.252
}
{
map $lightmap
blendFunc GL_DST_COLOR GL_ZERO
}
}
textures/test/terrain_2
{
q3map_baseshader textures/test/terrain_base
surfaceparm landmine
surfaceparm gravelsteps
{
map textures/temperate_sd/rock_grayvar.tga
tcMod scale 0.252 0.252
}
{
map $lightmap
blendFunc GL_DST_COLOR GL_ZERO
}
}
textures/test/terrain_3
{
q3map_baseshader textures/test/terrain_base
surfaceparm landmine
surfaceparm gravelsteps
{
map textures/temperate_sd/grass_path1.tga
tcMod scale 0.252 0.252
}
{
map $lightmap
blendFunc GL_DST_COLOR GL_ZERO
}
}
textures/test/terrain_4
{
q3map_baseshader textures/test/terrain_base
surfaceparm landmine
surfaceparm gravelsteps
{
map textures/temperate_sd/grass_dense1.tga
tcMod scale 0.252 0.252
}
{
map $lightmap
blendFunc GL_DST_COLOR GL_ZERO
}
}
textures/test/terrain_5
{
q3map_baseshader textures/test/terrain_base
surfaceparm landmine
surfaceparm gravelsteps
{
map textures/test/sand_1.tga
tcMod scale 0.252 0.252
}
{
map $lightmap
blendFunc GL_DST_COLOR GL_ZERO
}
}
textures/test/terrain_0to1
{
q3map_baseshader textures/test/terrain_base
{
map textures/temperate_sd/master_grass_dirt3.tga
tcMod scale 0.252 0.252
}
{
map textures/temperate_sd/rocky_sand.tga
blendFunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA
alphaGen vertex
tcMod scale 0.252 0.252
}
{
map $lightmap
blendFunc GL_DST_COLOR GL_ZERO
}
}
textures/test/terrain_0to2
{
q3map_baseshader textures/test/terrain_base
{
map textures/temperate_sd/master_grass_dirt3.tga
tcMod scale 0.252 0.252
}
{
map textures/temperate_sd/rock_grayvar.tga
blendFunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA
alphaGen vertex
tcMod scale 0.252 0.252
}
{
map $lightmap
blendFunc GL_DST_COLOR GL_ZERO
}
}
textures/test/terrain_0to3
{
q3map_baseshader textures/test/terrain_base
{
map textures/temperate_sd/master_grass_dirt3.tga
tcMod scale 0.252 0.252
}
{
map textures/temperate_sd/grass_path1.tga
blendFunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA
alphaGen vertex
tcMod scale 0.252 0.252
}
{
map $lightmap
blendFunc GL_DST_COLOR GL_ZERO
}
}
textures/test/terrain_0to4
{
q3map_baseshader textures/test/terrain_base
{
map textures/temperate_sd/master_grass_dirt3.tga
tcMod scale 0.252 0.252
}
{
map textures/temperate_sd/grass_dense1.tga
blendFunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA
alphaGen vertex
tcMod scale 0.252 0.252
}
{
map $lightmap
blendFunc GL_DST_COLOR GL_ZERO
}
}
textures/test/terrain_0to5
{
q3map_baseshader textures/test/terrain_base
{
map textures/temperate_sd/master_grass_dirt3.tga
tcMod scale 0.252 0.252
}
{
map textures/test/sand_1.tga
blendFunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA
alphaGen vertex
tcMod scale 0.252 0.252
}
{
map $lightmap
blendFunc GL_DST_COLOR GL_ZERO
}
}
textures/test/terrain_1to2
{
q3map_baseshader textures/test/terrain_base
{
map textures/temperate_sd/rocky_sand.tga
tcMod scale 0.252 0.252
}
{
map textures/temperate_sd/rock_grayvar.tga
blendFunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA
alphaGen vertex
tcMod scale 0.252 0.252
}
{
map $lightmap
blendFunc GL_DST_COLOR GL_ZERO
}
}
textures/test/terrain_1to3
{
q3map_baseshader textures/test/terrain_base
{
map textures/temperate_sd/rocky_sand.tga
tcMod scale 0.252 0.252
}
{
map textures/temperate_sd/grass_path1.tga
blendFunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA
alphaGen vertex
tcMod scale 0.252 0.252
}
{
map $lightmap
blendFunc GL_DST_COLOR GL_ZERO
}
}
textures/test/terrain_1to4
{
q3map_baseshader textures/test/terrain_base
{
map textures/temperate_sd/rocky_sand.tga
tcMod scale 0.252 0.252
}
{
map textures/temperate_sd/grass_dense1.tga
blendFunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA
alphaGen vertex
tcMod scale 0.252 0.252
}
{
map $lightmap
blendFunc GL_DST_COLOR GL_ZERO
}
}
textures/test/terrain_1to5
{
q3map_baseshader textures/test/terrain_base
{
map textures/temperate_sd/rocky_sand.tga
tcMod scale 0.252 0.252
}
{
map textures/test/sand_1.tga
blendFunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA
alphaGen vertex
tcMod scale 0.252 0.252
}
{
map $lightmap
blendFunc GL_DST_COLOR GL_ZERO
}
}
textures/test/terrain_2to3
{
q3map_baseshader textures/test/terrain_base
{
map textures/temperate_sd/rock_grayvar.tga
tcMod scale 0.252 0.252
}
{
map textures/temperate_sd/grass_path1.tga
blendFunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA
alphaGen vertex
tcMod scale 0.252 0.252
}
{
map $lightmap
blendFunc GL_DST_COLOR GL_ZERO
}
}
textures/test/terrain_2to4
{
q3map_baseshader textures/test/terrain_base
{
map textures/temperate_sd/rock_grayvar.tga
tcMod scale 0.252 0.252
}
{
map textures/temperate_sd/grass_dense1.tga
blendFunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA
alphaGen vertex
tcMod scale 0.252 0.252
}
{
map $lightmap
blendFunc GL_DST_COLOR GL_ZERO
}
}
textures/test/terrain_2to5
{
q3map_baseshader textures/test/terrain_base
{
map textures/temperate_sd/rock_grayvar.tga
tcMod scale 0.252 0.252
}
{
map textures/test/sand_1.tga
blendFunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA
alphaGen vertex
tcMod scale 0.252 0.252
}
{
map $lightmap
blendFunc GL_DST_COLOR GL_ZERO
}
}
textures/test/terrain_3to4
{
q3map_baseshader textures/test/terrain_base
{
map textures/temperate_sd/grass_path1.tga
tcMod scale 0.252 0.252
}
{
map textures/temperate_sd/grass_dense1.tga
blendFunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA
alphaGen vertex
tcMod scale 0.252 0.252
}
{
map $lightmap
blendFunc GL_DST_COLOR GL_ZERO
}
}
textures/test/terrain_3to5
{
q3map_baseshader textures/test/terrain_base
{
map textures/temperate_sd/grass_path1.tga
tcMod scale 0.252 0.252
}
{
map textures/test/sand_1.tga
blendFunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA
alphaGen vertex
tcMod scale 0.252 0.252
}
{
map $lightmap
blendFunc GL_DST_COLOR GL_ZERO
}
}
textures/test/terrain_4to5
{
q3map_baseshader textures/test/terrain_base
{
map textures/temperate_sd/grass_dense1.tga
tcMod scale 0.252 0.252
}
{
map textures/test/sand_1.tga
blendFunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA
alphaGen vertex
tcMod scale 0.252 0.252
}
{
map $lightmap
blendFunc GL_DST_COLOR GL_ZERO
}
}
textures/test/terrain_base
{
q3map_lightmapaxis z
q3map_lightmapmergable
q3map_lightmapsize 512 512
q3map_tcGen ivector ( 254 0 0 ) ( 0 254 0 )
}
thanks in advance
