still got shader image not found
used the template and moved terrain_base up to the top
this is my shader file atm:
textures/test2/terrain_base
{
nopicmips
q3map_lightmapaxis z
q3map_lightmapmergable
q3map_tcGen ivector ( 512 0 0 ) ( 0 512 0 )
}
textures/test2/terrain_0
{
q3map_baseshader textures/test2/terrain_base
qer_editorimage textures/desert_sd/grass_sand_flat.tga
surfaceparm landmine
surfaceparm grasssteps
{
map textures/desert_sd/grass_sand_flat.tga
}
{
map $lightmap
blendFunc GL_DST_COLOR GL_ZERO
}
}
textures/test2/terrain_1
{
q3map_baseshader textures/test2/terrain_base
qer_editorimage textures/desert_sd/rock_edged_smooth.tga
surfaceparm landmine
surfaceparm grasssteps
{
map textures/desert_sd/rock_edged_smooth.tga
}
{
map $lightmap
blendFunc GL_DST_COLOR GL_ZERO
}
}
textures/test2/terrain_2
{
q3map_baseshader textures/test2/terrain_base
qer_editorimage textures/desert_sd/pavement_tris_sandy.tga
surfaceparm landmine
surfaceparm grasssteps
{
map textures/desert_sd/pavement_tris_sandy.tga
}
{
map $lightmap
blendFunc GL_DST_COLOR GL_ZERO
}
}
textures/test2/terrain_0to1
{
q3map_baseshader textures/test2/terrain_base
qer_editorimage textures/desert_sd/grass_sand_flat.tga
surfaceparm landmine
surfaceparm grasssteps
{
map textures/desert_sd/grass_sand_flat.tga
}
{
map textures/desert_sd/rock_edged_smooth.tga
blendFunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA
alphaGen vertex
}
{
map $lightmap
blendFunc GL_DST_COLOR GL_ZERO
}
}
textures/test2/terrain_0to2
{
q3map_baseshader textures/test2/terrain_base
qer_editorimage textures/desert_sd/grass_sand_flat.tga
surfaceparm landmine
surfaceparm grasssteps
{
map textures/desert_sd/grass_sand_flat.tga
}
{
map textures/desert_sd/pavement_tris_sandy.tga
blendFunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA
alphaGen vertex
}
{
map $lightmap
blendFunc GL_DST_COLOR GL_ZERO
}
}
textures/test2/terrain_1to2
{
q3map_baseshader textures/test2/terrain_base
qer_editorimage textures/desert_sd/rock_edged_smooth.tga
surfaceparm landmine
surfaceparm grasssteps
{
map textures/desert_sd/rock_edged_smooth.tga
}
{
map textures/desert_sd/pavement_tris_sandy.tga
blendFunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA
alphaGen vertex
}
{
map $lightmap
blendFunc GL_DST_COLOR GL_ZERO
}
}