I’ve been having this problem on all my terrains. Everything looks ok until you equip night-vision goggles (NV). With NV on all the blended areas of the terrain appear darker.
I’m having trouble finding an answer to this one. I’ve tried a few different terrain shaders, following examples online, but none of the changes affected this issue. This is one of those “SoF2 Specific Problems” that is hard to find any advice on, so if anyone knows the solution (ydnar)…please post it here!
If I use a fog key in the worldspawn it causes a similar, if not identical, effect. With, or without NV.
textures/terra1/baseterrain
{
q3map_surfacemodel models/objects/colombia/jungle/grass2.md3 128 0.004 0.50 1.75 0 360 1
q3map_material Snow
q3map_lightmapsamplesize 32
q3map_lightmapaxis z
q3map_texturesize 1024 1024
q3map_tcGen ivector ( 384 0 0 ) ( 0 384 0 )
}textures/terra1/terrain_0
{
q3map_baseshader textures/terra1/baseterrain
{
map textures/kamchatka/rock_huge_snow.jpg
rgbGen identity
}
{
map $lightmap
blendFunc GL_DST_COLOR GL_ZERO
tcGen lightmap
rgbGen identity
}
}textures/terra1/terrain_1
{
q3map_baseshader textures/terra1/baseterrain
{
map textures/kamchatka/rock_huge.jpg
rgbGen identity
}
{
map $lightmap
blendFunc GL_DST_COLOR GL_ZERO
tcGen lightmap
rgbGen identity
}
}textures/terra1/terrain_2
{
q3map_baseshader textures/terra1/baseterrain
{
map textures/kamchatka/snow01.jpg
rgbGen identity
}
{
map $lightmap
blendFunc GL_DST_COLOR GL_ZERO
tcGen lightmap
rgbGen identity
}
}textures/terra1/terrain_3
{
q3map_baseshader textures/terra1/baseterrain
{
map textures/kamchatka/snow_2.jpg
rgbGen identity
}
{
map $lightmap
blendFunc GL_DST_COLOR GL_ZERO
tcGen lightmap
rgbGen identity
}
}textures/terra1/terrain_0to1
{
q3map_baseshader textures/terra1/baseterrain
{
map textures/kamchatka/rock_huge_snow.jpg
}
{
map textures/kamchatka/rock_huge.jpg
blendFunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA
rgbGen identity
alphaGen vertex
}
{
map $lightmap
blendFunc GL_DST_COLOR GL_ZERO
tcGen lightmap
rgbGen identity
}
}textures/terra1/terrain_0to2
{
q3map_baseshader textures/terra1/baseterrain
{
map textures/kamchatka/rock_huge_snow.jpg
rgbGen identity
}
{
map textures/kamchatka/snow01.jpg
blendFunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA
rgbGen identity
alphaGen vertex
}
{
map $lightmap
blendFunc GL_DST_COLOR GL_ZERO
tcGen lightmap
rgbGen identity
}
}textures/terra1/terrain_0to3
{
q3map_baseshader textures/terra1/baseterrain
{
map textures/kamchatka/rock_huge_snow.jpg
rgbGen identity
}
{
map textures/kamchatka/snow_2.jpg
blendFunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA
rgbGen identity
alphaGen vertex
}
{
map $lightmap
blendFunc GL_DST_COLOR GL_ZERO
tcGen lightmap
rgbGen identity
}
}textures/terra1/terrain_1to2
{
q3map_baseshader textures/terra1/baseterrain
{
map textures/kamchatka/rock_huge.jpg
rgbGen identity
}
{
map textures/kamchatka/snow01.jpg
blendFunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA
rgbGen identity
alphaGen vertex
}
{
map $lightmap
blendFunc GL_DST_COLOR GL_ZERO
tcGen lightmap
rgbGen identity
}
}textures/terra1/terrain_1to3
{
q3map_baseshader textures/terra1/baseterrain
{
map textures/kamchatka/rock_huge.jpg
rgbGen identity
}
{
map textures/kamchatka/snow_2.jpg
blendFunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA
rgbGen identity
alphaGen vertex
}
{
map $lightmap
blendFunc GL_DST_COLOR GL_ZERO
tcGen lightmap
rgbGen identity
}
}textures/terra1/terrain_2to3
{
q3map_baseshader textures/terra1/baseterrain
{
map textures/kamchatka/snow01.jpg
rgbGen identity
}
{
map textures/kamchatka/snow_2.jpg
blendFunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA
rgbGen identity
alphaGen vertex
}
{
map $lightmap
blendFunc GL_DST_COLOR GL_ZERO
tcGen lightmap
rgbGen identity
}
}textures/terra1/terrain.vertex
{
{
map textures/kamchatka/rock_huge_snow.jpg
rgbGen vertex
rgbGen identity
}
}
Thank you
StonedAvenger

