// Vera Visions Material { polygonOffset 1 diffusemap textures/next/earth7.tga if $programs { program terrain_alpha blendFunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA } else { map "textures/next/earth7.tga" blendFunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA alphaGen vertex } { map $lightmap rgbGen identity blendFunc filter depthFunc equal } endif }