textures\levels\glass
{
    //mame problem s fxom na zrkadlach, az sa to vyriesi,
    //moze sa pridat cubemapa.
    noFog
    fx data\scripts\fx\window.fx
    {
        map textures\levels\glass
    }
    {
        cubeMap textures\levels\envmap_small
    }
}

textures\levels\nosnik
{
    cull none
    {
        map textures\levels\nosnik
        alphafunc GT 100
        blendfunc blend
        depthwrite
    }

    {
    	map $lightmap
	blendfunc filter
	alphafunc GT 100
    }
}

textures\levels\konstrukcia
{
    cull none
    {
        map textures\levels\konstrukcia
        alphafunc GT 100
        blendfunc blend
        depthwrite
    }

    {
    	map $lightmap
	    blendfunc filter
	    alphafunc GT 100
    }

}

textures\levels\konstrukcia2
{
    cull none
    {
        map textures\levels\konstrukcia2
        alphafunc GT 100
        blendfunc blend
        depthwrite
    }
    {
	   map $lightmap
	   blendfunc filter
	   alphafunc GT 100
    }

}

textures\levels\kresla1
{
    cull none
    {
        map textures\levels\kresla1
        alphafunc GT 100
        blendfunc blend
        depthwrite
    }
    {
	   map $lightmap
	   blendfunc filter
	   alphafunc GT 100
    }
}

textures\levels\kresla3
{
    cull none
    {
        map textures\levels\kresla3
        alphafunc GT 100
        blendfunc blend
        depthwrite
    }
    {
	   map $lightmap
	   blendfunc filter
	   alphafunc GT 100
    }
}

textures\levels\kresla2
{
    cull none
    {
        map textures\levels\kresla2
        alphafunc GT 100
        blendfunc blend
        depthwrite
    }
    {
	   map $lightmap
	   blendfunc filter
	   alphafunc GT 100
    }

}

textures\levels\zabradlie03
{
    cull none
    {
        map textures\levels\zabradlie03
        alphafunc GT 100
        blendfunc blend
        depthwrite
    }
    {
	   map $lightmap
	   blendfunc filter
	   alphafunc GT 100
    }
}

textures\menu\ingame\tabulka-gui1
{
    sort 11
    {
        guiMap Ingame/Table1
    }
    {
        map $lightmap
        blendfunc filter
    }
}

textures\menu\ingame\tabulka-gui2
{
    sort 11
    {
        guiMap Ingame/Table2
    }
    {
        map $lightmap
        blendfunc filter
    }
}

textures\menu\ingame\tabulka-gui3
{
    sort 11
    {
        guiMap Ingame/Table3
    }
    {
        map $lightmap
        blendfunc filter
    }
}

textures\menu\ingame\tabulka-gui4
{
    sort 11
    {
        guiMap Ingame/Table4
    }
    {
        map $lightmap
        blendfunc filter
    }
}

textures\menu\ingame\tabulka-gui5
{
    sort 11
    {
        guiMap Ingame/Table5
    }
    {
        map $lightmap
        blendfunc filter
    }
}
textures\levels\tabula01
{
    sort 11
    {
        map textures\levels\tabula01
    }
}

textures\levels\tv_stena
{
    cull none
    sort 11
    {
        map textures\levels\tv_stena
        depthwrite
    }
    {
	   map $lightmap
	   blendfunc filter
    }

}


textures\levels\svet_tab01
{
    sort 11
    #if ShaderLOD 3
        {
            randommap textures\reklama\reklama01_video textures\reklama\reklama02_video
        }
    #else
        {
            randommap textures\reklama\reklama01_video textures\reklama\reklama02_video
        }
        {
            map $lightmap
    	    blendfunc filter
        }
    #endif
}



textures\common\rendermap
{
    sort 11
    #if ShaderLOD 1
        {
            map $rendermap
        }
    #else
        {
            randommap textures\reklama\reklama01_render textures\reklama\reklama01_render
        }
    #endif
}


//svetla//

textures\levels\volumetrika
{
    cull none
    nofog
    sort 12
    deformVertexes autosprite3
    {
        map textures\levels\volumetrika
	blendfunc add
    }
}

textures\levels\glow_ziarivka
{
    cull none
    nofog
    sort 12
    //deformVertexes autosprite3
    {
        map textures\levels\glow_ziarivka
	blendfunc add
    }
}

textures\levels\flare00
{
    cull none
    nofog
    sort 10
    deformVertexes autosprite
    {
        map textures\levels\flare00
	blendfunc add
	depthfunc always
    }
}
