I’ve tried adding surfaceparms for it, but that makes my terrain disappear :banghead:
Here is my .shader, can someone tell me where to add the surfaceparms, or how to enable landmines? Thanks.
textures/v4/terrain_0
{
surfaceparm nolightmap
q3map_novertexshadows
q3map_forcesunlight
{
map textures/stone/mxdebri0_riverbed.tga
rgbGen vertex
tcmod scale 0.250000000 0.250000000
}
}
textures/v4/terrain_1
{
surfaceparm nolightmap
q3map_novertexshadows
q3map_forcesunlight
{
map textures/snow/s_dirt_m03i_2.jpg
rgbGen vertex
tcmod scale 0.250000000 0.250000000
}
}
textures/v4/terrain_2
{
surfaceparm nolightmap
q3map_novertexshadows
q3map_forcesunlight
{
map textures/stone/mxrock3h_snow.tga
rgbGen vertex
tcmod scale 0.500000000 0.500000000
}
}
textures/v4/terrain_0to1
{
surfaceparm nolightmap
q3map_novertexshadows
q3map_forcesunlight
{
map textures/stone/mxdebri0_riverbed.tga
rgbGen vertex
alphaGen vertex
tcmod scale 0.250000000 0.250000000
}
{
map textures/snow/s_dirt_m03i_2.jpg
rgbGen vertex
alphaGen vertex
tcmod scale 0.250000000 0.250000000
blendFunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA
}
}
textures/v4/terrain_0to2
{
surfaceparm nolightmap
q3map_novertexshadows
q3map_forcesunlight
{
map textures/stone/mxdebri0_riverbed.tga
rgbGen vertex
alphaGen vertex
tcmod scale 0.250000000 0.250000000
}
{
map textures/stone/mxrock3h_snow.tga
rgbGen vertex
alphaGen vertex
tcmod scale 0.250000000 0.250000000
blendFunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA
}
}
textures/v4/terrain_1to2
{
surfaceparm nolightmap
q3map_novertexshadows
q3map_forcesunlight
{
map textures/snow/s_dirt_m03i_2.jpg
rgbGen vertex
alphaGen vertex
tcmod scale 0.250000000 0.250000000
}
{
map textures/stone/mxrock3h_snow.tga
rgbGen vertex
alphaGen vertex
tcmod scale 0.250000000 0.250000000
blendFunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA
}
}
textures/v4/vxterrain
{
surfaceparm nolightmap
q3map_novertexshadows
q3map_forcesunlight
{
map textures/stone/mxdebri0_riverbed.tga
rgbGen vertex
tcmod scale 0.250000000 0.250000000
}
}

