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