After scrapping an old version of this heightmap, I changed the original greyscale image to accomodate some more terrain. However, I’m running into the same problems which plauged the old heightmap.
http://www.angelfire.com/indie/stil/pics.html
The first pic is a standard version of the shader file.
textures/terra3/terrain_0
{
surfaceparm nolightmap
q3map_novertexshadows
q3map_forcesunlight
{
map textures/stone/mxsand2.jpg
rgbGen vertex
tcmod scale 0.125 0.125
}
}
textures/terra3/terrain_0
{
surfaceparm nolightmap
q3map_novertexshadows
q3map_forcesunlight
{
map textures/stone/mxsand2.jpg
rgbGen vertex
tcmod scale 0.125 0.125
}
}
The second pic is the q3map version of the shader file.
textures/terra3/terrain_0
{
q3map_lightmapsamplesize 64
q3map_lightmapaxis z
q3map_texturesize 512 512
q3map_tcGen ivector ( 128 0 0 ) ( 0 128 0 )
{
map textures/stone/mxsand2.jpg
}
{
map $lightmap
blendFunc GL_DST_COLOR GL_ZERO
tcGen lightmap
}
}
textures/terra3/terrain_0to1
{
q3map_lightmapsamplesize 64
q3map_lightmapaxis z
q3map_texturesize 512 512
q3map_tcGen ivector ( 128 0 0 ) ( 0 128 0 )
{
map textures/stone/mxsand2.jpg
}
{
map textures/stone/mxsand1.jpg
alphaGen vertex
blendFunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA
}
{
map $lightmap
blendFunc GL_DST_COLOR GL_ZERO
tcGen lightmap
}
}
I’m still no closer to figuring out what is causing these probs 
I have a faint idea that it might be caused by the dimensions of my heightmap ?
39 by 55 divisions. 128 units per divison; 4992 by 7040 total size
The greyscale image is 40 by 56 pixels.
Before I ran into the texture probs, the terrian map wouldn’t even render. I deleted one column of pixels from the heighmap and started again. (original image size was 41 by 56) This fixed that prob…although I dont know why the image sclae was a prob in the first place. :banghead:

