textures/shaderlab_sample/decal { qer_trans 0.75 q3map_nonplanar q3map_shadeAngle 179 // for most efficient rendering q3map_noTJunc surfaceparm nonsolid surfaceparm nomarks surfaceparm nolightmap // important! surfaceparm trans polygonOffset { map textures/rad/decal.tga blendFunc GL_ZERO GL_ONE_MINUS_SRC_COLOR // *invert* the texture, this is for correct fogging rgbGen identity } }