If i compile my level with q3map2 the terrain invisile. It does not do this with normal q3map.
the shader:
shader name is trcent2.shader
textures/trcent2/terrain_0
{
surfaceparm nolightmap
q3map_novertexshadows
q3map_forcesunlight
{
map textures/dodotr/grass.tga
rgbGen vertex
tcmod scale 0.341333330 0.256000000
}
}
textures/trcent2/terrain_1
{
surfaceparm nolightmap
q3map_novertexshadows
q3map_forcesunlight
{
map textures/dodotr/lightsnow.tga
rgbGen vertex
tcmod scale 0.341333330 0.256000000
}
}
textures/trcent2/terrain_2
{
surfaceparm nolightmap
q3map_novertexshadows
q3map_forcesunlight
{
map textures/dodotr/mediumsnow.tga
rgbGen vertex
tcmod scale 0.341333330 0.256000000
}
}
textures/trcent2/terrain_3
{
surfaceparm nolightmap
q3map_novertexshadows
q3map_forcesunlight
{
map textures/dodotr/oldsnow.tga
rgbGen vertex
tcmod scale 0.341333330 0.256000000
}
}
textures/trcent2/terrain_0to1
{
surfaceparm nolightmap
q3map_novertexshadows
q3map_forcesunlight
{
map textures/dodotr/grass.tga
rgbGen vertex
alphaGen vertex
tcmod scale 0.341333330 0.256000000
}
{
map textures/dodotr/lightsnow.tga
rgbGen vertex
alphaGen vertex
tcmod scale 0.341333330 0.256000000
blendFunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA
}
}
textures/trcent2/terrain_0to2
{
surfaceparm nolightmap
q3map_novertexshadows
q3map_forcesunlight
{
map textures/dodotr/grass.tga
rgbGen vertex
alphaGen vertex
tcmod scale 0.341333330 0.256000000
}
{
map textures/dodotr/mediumsnow.tga
rgbGen vertex
alphaGen vertex
tcmod scale 0.341333330 0.256000000
blendFunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA
}
}
textures/trcent2/terrain_0to3
{
surfaceparm nolightmap
q3map_novertexshadows
q3map_forcesunlight
{
map textures/dodotr/grass.tga
rgbGen vertex
alphaGen vertex
tcmod scale 0.341333330 0.256000000
}
{
map textures/dodotr/oldsnow.tga
rgbGen vertex
alphaGen vertex
tcmod scale 0.341333330 0.256000000
blendFunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA
}
}
textures/trcent2/terrain_1to2
{
surfaceparm nolightmap
q3map_novertexshadows
q3map_forcesunlight
{
map textures/dodotr/lightsnow.tga
rgbGen vertex
alphaGen vertex
tcmod scale 0.341333330 0.256000000
}
{
map textures/dodotr/mediumsnow.tga
rgbGen vertex
alphaGen vertex
tcmod scale 0.341333330 0.256000000
blendFunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA
}
}
textures/trcent2/terrain_1to3
{
surfaceparm nolightmap
q3map_novertexshadows
q3map_forcesunlight
{
map textures/dodotr/lightsnow.tga
rgbGen vertex
alphaGen vertex
tcmod scale 0.341333330 0.256000000
}
{
map textures/dodotr/oldsnow.tga
rgbGen vertex
alphaGen vertex
tcmod scale 0.341333330 0.256000000
blendFunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA
}
}
textures/trcent2/terrain_2to3
{
surfaceparm nolightmap
q3map_novertexshadows
q3map_forcesunlight
{
map textures/dodotr/mediumsnow.tga
rgbGen vertex
alphaGen vertex
tcmod scale 0.341333330 0.256000000
}
{
map textures/dodotr/oldsnow.tga
rgbGen vertex
alphaGen vertex
tcmod scale 0.341333330 0.256000000
blendFunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA
}
}
textures/trcent2/vxterrain
{
surfaceparm nolightmap
q3map_novertexshadows
q3map_forcesunlight
{
map textures/dodotr/grass.tga
rgbGen vertex
tcmod scale 0.341333330 0.256000000
}
}
in gtkradiant the settings for the terrain entity are:
alphamap trcent2.pcx
shader trcent2/terrain
layers 4
terrain 1
classname func_group
this works in normal q3map, ut not q3map2.[/i]