when i compile my map to test the terrain i made in easygen i get the black and white squares that show missing texture. any help will be most appreciated. here is my func_group and my terrain.shader properties.
textures/network/terrain_0
{
q3map_lightmapsamplesize 64
q3map_lightmapaxis z
q3map_texturesize 512 512
q3map_tcGen ivector ( 128 0 0 ) ( 0 128 0 )
{
map textures/yavin/rockwall.jpg
}
{
map $lightmap
blendFunc GL_DST_COLOR GL_ZERO
tcGen lightmap
}
}
textures/network/terrain_1
{
q3map_lightmapsamplesize 64
q3map_lightmapaxis z
q3map_texturesize 512 512
q3map_tcGen ivector ( 128 0 0 ) ( 0 128 0 )
{
map textures/yavin/lighturth.jpg
}
{
map $lightmap
blendFunc GL_DST_COLOR GL_ZERO
tcGen lightmap
}
}
textures/network/terrain_2
{
q3map_lightmapsamplesize 64
q3map_lightmapaxis z
q3map_texturesize 512 512
q3map_tcGen ivector ( 128 0 0 ) ( 0 128 0 )
{
map textures/yavin/s_mud2.jpg
}
{
map $lightmap
blendFunc GL_DST_COLOR GL_ZERO
tcGen lightmap
}
}
textures/network/terrain_0to1
{
q3map_lightmapsamplesize 64
q3map_lightmapaxis z
q3map_texturesize 512 512
q3map_tcGen ivector ( 128 0 0 ) ( 0 128 0 )
{
map textures/yavin/rockwall.jpg
}
{
map textures/yavin/lighturth.jpg
alphaGen vertex
blendFunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA
}
{
map $lightmap
blendFunc GL_DST_COLOR GL_ZERO
tcGen lightmap
}
}
textures/network/terrain_0to2
{
q3map_lightmapsamplesize 64
q3map_lightmapaxis z
q3map_texturesize 512 512
q3map_tcGen ivector ( 128 0 0 ) ( 0 128 0 )
{
map textures/yavin/rockwall.jpg
}
{
map textures/yavin/s_mud2.jpg
alphaGen vertex
blendFunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA
}
{
map $lightmap
blendFunc GL_DST_COLOR GL_ZERO
tcGen lightmap
}
}
textures/network/terrain_1to2
{
q3map_lightmapsamplesize 64
q3map_lightmapaxis z
q3map_texturesize 512 512
q3map_tcGen ivector ( 128 0 0 ) ( 0 128 0 )
{
map textures/yavin/lighturth.jpg
}
{
map textures/yavin/s_mud2.jpg
alphaGen vertex
blendFunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA
}
{
map $lightmap
blendFunc GL_DST_COLOR GL_ZERO
tcGen lightmap
}
}
textures/network/terrain_vertex
{
{
map textures/yavin/rockwall.jpg
rgbGen vertex
}
}
and my func_groups properties
classname func_group
layers 3
terrain 1
shader network/terrain
alphamap heightmaps/siege_network.pcx
Did you add the shader file name in shaderlist.txt?
If it's network.shader you'd add network on a line of it's own in the shaderlist.txt file (which is in \shaders\)
i had already done that. but i put everything in a pk3 and it worked. thanks for the help.
next time (when it's not in the .pk3) type /sv_pure 0 before loading your map (loading in MP) and the textures should show..
(for SP leave out the / )