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