Hi i had problems with my Terrain-shader.
Using Q3Map1 all went fine with the marks if you fire at the terrain-surface.
But compiling with Q3map2.3.35+ there are no marks. Just the same kind if i shot a stone, but no sand flying in the air.
Maybe I missed sone new stuff in this version, or maybe it’s a bug.
Here’s my Terrain-Shader:
textures/wald2/terrain_0
{
q3map_lightmapsampleoffset 8.0
q3map_lightmapaxis z
q3map_tcGen ivector ( 512 0 0 ) ( 0 512 0 )
{
map textures/stone/mxrock2t.jpg
}
{
map $lightmap
blendFunc GL_DST_COLOR GL_ZERO
tcGen lightmap
}
}
textures/wald2/terrain_1
{
q3map_lightmapsampleoffset 8.0
q3map_lightmapaxis z
q3map_tcGen ivector ( 512 0 0 ) ( 0 512 0 )
{
map textures/stone/mxrock3_a.jpg
}
{
map $lightmap
blendFunc GL_DST_COLOR GL_ZERO
tcGen lightmap
}
}
textures/wald2/terrain_2
{
q3map_lightmapsampleoffset 8.0
q3map_lightmapaxis z
q3map_tcGen ivector ( 512 0 0 ) ( 0 512 0 )
{
map textures/stone/mxrock4c.jpg
}
{
map $lightmap
blendFunc GL_DST_COLOR GL_ZERO
tcGen lightmap
}
}
textures/wald2/terrain_3
{
q3map_lightmapsampleoffset 8.0
q3map_lightmapaxis z
q3map_tcGen ivector ( 512 0 0 ) ( 0 512 0 )
{
map textures/stone/mxrock3aa.jpg
}
{
map $lightmap
blendFunc GL_DST_COLOR GL_ZERO
tcGen lightmap
}
}
textures/wald2/terrain_0to1
{
q3map_lightmapsampleoffset 8.0
q3map_lightmapaxis z
q3map_tcGen ivector ( 512 0 0 ) ( 0 512 0 )
{
map textures/stone/mxrock2t.jpg
}
{
map textures/stone/mxrock3_a.jpg
alphaGen vertex
blendFunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA
}
{
map $lightmap
blendFunc GL_DST_COLOR GL_ZERO
tcGen lightmap
}
}
textures/wald2/terrain_0to2
{
q3map_lightmapsampleoffset 8.0
q3map_lightmapaxis z
q3map_tcGen ivector ( 512 0 0 ) ( 0 512 0 )
{
map textures/stone/mxrock2t.jpg
}
{
map textures/stone/mxrock4c.jpg
alphaGen vertex
blendFunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA
}
{
map $lightmap
blendFunc GL_DST_COLOR GL_ZERO
tcGen lightmap
}
}
textures/wald2/terrain_0to3
{
q3map_lightmapsampleoffset 8.0
q3map_lightmapaxis z
q3map_tcGen ivector ( 512 0 0 ) ( 0 512 0 )
{
map textures/stone/mxrock2t.jpg
}
{
map textures/stone/mxrock3aa.jpg
alphaGen vertex
blendFunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA
}
{
map $lightmap
blendFunc GL_DST_COLOR GL_ZERO
tcGen lightmap
}
}
textures/wald2/terrain_1to2
{
q3map_lightmapsampleoffset 8.0
q3map_lightmapaxis z
q3map_tcGen ivector ( 512 0 0 ) ( 0 512 0 )
{
map textures/stone/mxrock3_a.jpg
}
{
map textures/stone/mxrock4c.jpg
alphaGen vertex
blendFunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA
}
{
map $lightmap
blendFunc GL_DST_COLOR GL_ZERO
tcGen lightmap
}
}
textures/wald2/terrain_1to3
{
q3map_lightmapsampleoffset 8.0
q3map_lightmapaxis z
q3map_tcGen ivector ( 512 0 0 ) ( 0 512 0 )
{
map textures/stone/mxrock3_a.jpg
}
{
map textures/stone/mxrock3aa.jpg
alphaGen vertex
blendFunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA
}
{
map $lightmap
blendFunc GL_DST_COLOR GL_ZERO
tcGen lightmap
}
}
textures/wald2/terrain_2to3
{
q3map_lightmapsampleoffset 8.0
q3map_lightmapaxis z
q3map_tcGen ivector ( 512 0 0 ) ( 0 512 0 )
{
map textures/stone/mxrock4c.jpg
}
{
map textures/stone/mxrock3aa.jpg
alphaGen vertex
blendFunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA
}
{
map $lightmap
blendFunc GL_DST_COLOR GL_ZERO
tcGen lightmap
}
}
textures/wald2/terrain.vertex
{
{
map textures/stone/mxrock2t.jpg
rgbGen vertex
}
}



