// Vera Visions Material { if $programs program lightmapped diffusemap textures/measure/wall64.tga else { map $lightmap rgbGen identity } { map textures/measure/wall64.tga rgbGen identity blendFunc GL_DST_COLOR GL_ZERO } endif }