// Vera Visions Material { surfaceParm dirt if $programs diffusemap "textures/next/earth9.tga" { program lightmapped map $diffuse map $normalmap } else { map $lightmap rgbGen identity } { map "textures/next/earth9.tga" rgbGen identity blendFunc GL_DST_COLOR GL_ZERO } endif }