; filename track.shd
; Spa Francorchamps shader file
; the AlfaNut  17 Feb 04, revised April 2005 for
; various graphics changes, new splines to update to 
; the mandatory chicane, the "Bus Stop", following
; Blanchimont, per advice from a good friend who 
; drives this track and knows it well.
;
_sun
  {
    map=$tracksunmap
    texgen_s=reflection_map
    texgen_t=reflection_map
    texgen_r=reflection_map
    emission=-0.2 -0.2 -0.2 1
  }
}
shader_skyfade
{
  sky=1
  fog=0
  layer0
  {
    texenv=replace
    map=skyfade.jpg
    cull=back
    depthfunc=always
    depthwrite=0
  }
}
shader_skygrade
{
  sky=1
  fog=0
  layer0
  {
    texenv=replace
    map=skygrade.tga
    cull=back
    depthfunc=always
    depthwrite=0
  }
}
shader_bka
{
  layer0
  {
    map=bka.tga
    alphafunc=gequal 100
  }
}
shader_bkb
{
  layer0
  {
    map=bkb.tga
    alphafunc=gequal 100
  }
}
shader_bkc
{
  layer0
  {
    map=bkc.tga
    alphafunc=gequal 100
  }
}
shader_bkd
{
  layer0
  {
    map=bkd.tga
    alphafunc=gequal 100
  }
}
shader_cloudsnny
{
  layer0
  {
    map=cloudsnny.tga
    alphafunc=gequal 100
  }
}
shader_textured_material_100
{
  layer0
  {
    map=100.tga
    emission=1 1 1 1
  }
}
shader_textured_material_200
{
  layer0
  {
    map=200.tga
    emission=1 1 1 1
  }
}
shader_200
{
  layer0
  {
    map=200.tga
    emission=1 1 1 1
  }
}
shader_textured_material_300
{
  layer0
  {
    map=300.tga
    emission=1 1 1 1
  }
}
shader_textured_material_bldgbt
{
  layer0
  {
    map=bldgbt.tga
    emission=.3 .3 .3 1
  }
}
shader_textured_material_bldgpc
{
  layer0
  {
    map=bldgpc.tga
    alphafunc=gequal 150
  }
}
shader_textured_material_bldgpd
{
  layer0
  {
    map=$trackenvmap
    texgen_s=reflection_map
    texgen_t=reflection_map
    texgen_r=reflection_map
  }
  layer1
  {
    blendfunc=add
    map=bldgpd.tga
    emission=1 1 .8 1
  }
}

shader_textured_material_bldgpf
{
  layer0
  {
    map=bldgpf.tga
  }
}
shader_textured_material_bldgpg
{
  layer0
  {
    map=bldgpg.tga
  }
}
shader_bldgph
{
  layer0
  {
    map=bldgph.tga
    alphafunc=gequal 150
  }
}
shader_textured_material_bldgpk
{
  layer0
  {
    map=bldgpk.tga
  }
}
shader_textured_material_bldgpw
{
  layer0
  {
    map=bldgpw.tga
  }
}
shader_textured_material_bldgrfb
{
  layer0
  {
    
    map=bldgrfb.tga
  }
}
shader_textured_material_bldgtp
{
  layer0
  {
    map=bldgtp.tga
  }
}
shader_textured_material_bldna
{
  layer0
  {
    map=$trackenvmap
    texgen_s=reflection_map
    texgen_t=reflection_map
    texgen_r=reflection_map
  }
  layer1
  {
    blendfunc=one src_alpha 
    map=bldna.tga
    emission=0.3 0.3 0.3 1
  }
}
shader_textured_material_bldnb
{
  layer0
  {
    map=$trackenvmap
    texgen_s=reflection_map
    texgen_t=reflection_map
    texgen_r=reflection_map
  }
  layer1
  {
    blendfunc=add
    map=bldnb.tga
    emission=0.4 0.4 0.4 1
  }
}
shader_textured_material_bldnc
{
  cull=none
  layer0
  {
    map=bldnc.tga
  }
}
shader_textured_material_bldnd
{
  cull=none
  layer0
  {
    map=bldnd.tga
  }
}
shader_textured_material_bldne
{
  layer0
  {
    map=bldne.tga
  }
}
shader_textured_material_bldnf
{
  layer0
  {
    map=bldnf.tga
    emission=.8 .8 .8 1
  }
}
shader_textured_material_brdgb
{
  layer0
  {
    map=brdgb.tga
  }
}
shader_textured_material_brdgpnla
{
  layer0
  {
    map=brdgpnla.tga
  }
}
shader_textured_material_brdgpnlb
{
  cull=none
  layer0
  {
    map=brdgpnlb.tga
  }
}
shader_textured_material_brkhsa
{
  layer0
  {
    map=brkhsa.tga
    alphafunc=gequal 10
  }
}
shader_textured_material_brtmtla
{
  layer0
  {
    map=brtmtla.tga
    emission=0.4 0.4 0.4 1
  }
}
shader_textured_material_cmwla
{
  layer0~_sun
  layer1
  {
    map=cmwla.tga
    texenv=modulate
    blendfunc=add
    emission=.3 .3 .3 1
  }
}
shader_textured_material_concrtb
{
  layer0~_sun
  layer1
  {
    map=concrtb.tga
    texenv=modulate
    blendfunc=add
    emission=.3 .3 .3 1
  }
}
shader_continental
{
  layer0
  {
    map=continental.tga
    emission=.5 .5 .5 1
  }
}
shader_crana
{
  layer0
  {
    map=crana.bmp
  }
}
shader_cranb
{
  layer0
  {
    map=cranb.bmp
  }
}
shader_cranc
{
  layer0
  {
    map=cranc.bmp
  }
}
shader_textured_material_crand
{
  layer0
  {
    map=crand.tga
  }
}
shader_textured_material_crane
{
  layer0
  {
    map=crane.tga
  }
}
shader_textured_material_cranf
{
  layer0
  {
    map=cranf.tga
  }
}
shader_textured_material_crang
{
  layer0
  {
    map=crang.tga
  }
}
shader_textured_material_crant
{
  layer0
  {
    map=crant.tga
  }
}
shader_textured_material_cranu
{
  layer0
  {
    map=cranu.tga
  }
}
shader_textured_material_cranv
{
  layer0
  {
    map=cranv.bmp
  }
}
shader_textured_material_cranw
{
  layer0
  {
    map=cranv.bmp
  }
}
shader_textured_material_crany
{
  layer0
  {
    map=crany.bmp
  }
}
shader_textured_material_fencea
{
  cull=none
  layer0
  {
    map=fencea.tga
    alphafunc=gequal 80
    emission=0.5 0.5 0.5 1
    mipmap=1
  }
}
shader_textured_material_fenceb
{
  cull=none
  layer0
  {
    map=fenceb.tga
    alphafunc=gequal 128
    emission=0.5 0.5 0.5 1
    mipmap=1
  }
}
shader_fenced
{
  layer0
  {
    map=fenced.tga
    emission=0.5 0.5 0.5 1
  }
}
shader_textured_material_fenced
{
  layer0
  {
    map=fenced.tga
    emission=0.5 0.5 0.5 1
  }
}
shader_textured_material_fldgrass
{
  layer0~_sun
  layer1
  {
    map=fldgrass.tga
    texenv=modulate
    blendfunc=add
    mipmap=1
    emission=.2 .2 .15 1
  }
}
shader_textured_material_fncea
{
  layer0
  {
    map=fncea.tga
    emission=0.5 0.5 0.5 1
    alphafunc=gequal 150
  }
}
shader_textured_material_fnceb
{
  layer0
  { 
    map=fnceb.tga
    blendfunc=src_alpha one_minus_src_alpha
    depthwrite=0
    emission=.8 .8 .8 1
  }
  layer1
  {
    map=$trackenvmap
    texgen_s=reflection_map
    texgen_t=reflection_map
    texgen_r=reflection_map
    blendfunc=src_color one_minus_src_color
    emission=.6 .6 .6 1
  }
}
shader_textured_material_fnceb1
{
  layer0
  {
    map=fnceb1.tga
    alphafunc=gequal 128
    blendfunc=blend
    texenv=modulate
    mipmap=1
    emission=0.5 0.5 0.5 1
  }
}
shader_textured_material_fncecd
{
  layer0
  {
    map=fncecd.tga
    emission=0.5 0.5 0.5 1
  }
}
shader_textured_material_fncer
{
  cull=none
  layer0
  {
    map=brarete.tga
    alphafunc=gequal 80
    emission=0.4 0.4 0.4 1
    mipmap=1
  }
}
shader_textured_material_fncpost
{
  layer0
  {
    map=fncpost.bmp
    emission=.4 .4 .4 1
  }
}
shader_textured_material_gbrmb
{
  layer0~_sun
  layer1
  {
    map=gbrmb.tga
    texenv=modulate
    blendfunc=add
    emission=.3 .3 .3 1
  }
}
shader_textured_material_gbrmgrvc
{
  layer0
  {
    map=gbrmgrvc.tga
    texenv=modulate
    blendfunc=blend
    alphafunc=gequal 100
  }
}
shader_textured_material_gbrmgrvl
{
  layer0~_sun
  layer1
  {
    map=gbrmgrvl.tga
    texenv=modulate
    blendfunc=add
    mipmap=1
    emission=.2 .2 .15 1
  }
}
shader_textured_material_gdora
{
  layer0
  {
    map=gdora.tga
  }
}
shader_textured_material_grass
{
  layer0~_sun
  layer1
  {
    map=grass.tga
    texenv=modulate
    blendfunc=add
    mipmap=1
    emission=.2 .2 .15 1
  }
}
shader_textured_material_grassbrdg
{
  layer0~_sun
  layer1
  {
    map=grassbrdg.tga
    texenv=modulate
    blendfunc=add
    mipmap=1
    emission=.2 .2 .15 1
  }
}
shader_textured_material_grassc
{
  layer0~_sun
  layer1
  {
    map=grassc.tga
    texenv=modulate
    blendfunc=add
    mipmap=1
    emission=.2 .2 .15 1
  }
}
shader_textured_material_grassfost
{
  layer0~_sun
  layer1
  {
    map=grassfost.tga
    texenv=modulate
    blendfunc=add
    mipmap=1
    emission=.2 .2 .15 1
  }
}
shader_grda
{
  layer0
  {
    map=grda.tga
    alphafunc=gequal 128
  }
}
shader_textured_material_grdrla
{
  layer0
  {
    map=grdrla.tga
    shininess=50
    emission=0.2 0.2 0.2 1
    alphafunc=gequal 150
    texenv=modulate
    blendfunc=blend
  }
}
shader_textured_material_grdrlatp
{
  layer0
  {
    map=grdrlatp.tga
    shininess=50
    emission=0.2 0.2 0.2 1
    alphafunc=gequal 150
    texenv=replace
  }
}
shader_textured_material_grvla
{
  layer0~_sun
  layer1
  {
    map=grvla.tga
    texenv=modulate
    blendfunc=add
    mipmap=1
    emission=.2 .2 .15 1
  }
}
shader_textured_material_gsbars
{
  layer0
  {
    map=gsbars.tga
    emission=0.5 0.5 0.5 1
    alphafunc=gequal 150
  }
}
shader_textured_material_gsbarsa
{
  layer0
  {
    map=gsbarsa.tga
    emission=0.5 0.5 0.5 1
    alphafunc=gequal 150
  }
}
shader_textured_material_gsbarsb
{
  layer0
  {
    map=gsbarsb.tga
    emission=0.5 0.5 0.5 1
    alphafunc=gequal 150
  }
}
shader_textured_material_gstgrya
{
  layer0
  {
    map=gstgrya.tga
  }
}
shader_textured_material_gstgryas
{
  layer0
  {
    map=gstgryas.tga
  }
}
shader_textured_material_gstmtla
{
  layer0
  {
    map=gstmtla.tga
    emission=1 1 1 1
  }
}
shader_textured_material_gstseata
{
  layer0
  {
    map=gstseata.tga
    alphafunc=gequal 180
  }
}
shader_textured_material_gurderc
{
  layer0
  {
    map=gurderc.tga
    emission=0.2 0.2 0.2 1
    alphafunc=gequal 150
  }
}
shader_textured_material_hilla
{
  layer0~_sun
  layer1
  {
    map=hilla.tga
    texenv=modulate
    blendfunc=add
    emission=.3 .3 .3 1
  }
}
shader_textured_material_hillb
{
  layer0~_sun
  layer1
  {
    map=hillb.tga
    texenv=modulate
    blendfunc=add
    emission=.3 .3 .3 1
  }
}
shader_textured_material_jumboa
{
  layer0
  {
    map=$trackenvmap
    texgen_s=reflection_map
    texgen_t=reflection_map
    texgen_r=reflection_map
    shininess=0
    texenv=replace
  }
  layer1
  {
    blendfunc=one src_alpha 
    map=$mirror
    emission=0.3 0.3 0.3 1
  }
}
shader_textured_material_jumbob
{
  layer0
  {
    map=$trackenvmap
    texgen_s=reflection_map
    texgen_t=reflection_map
    texgen_r=reflection_map
    shininess=0
    texenv=replace
  }
  layer1
  {
    blendfunc=one src_alpha 
    map=$mirror
    emission=0.3 0.3 0.3 1
  }
}
shader_textured_material_logoagip
{
  layer0
  {
    map=logoagip.tga
    emission=.8 .8 .8 1
  }
}
shader_logoarra
{
  layer0
  {
    map=logoarra.tga
    emission=.8 .8 .8 1
  }
}
shader_logobara
{
  layer0
  {
    map=logobara.tga
    emission=.8 .8 .8 1
  }
}
shader_logobmwa
{
  layer0
   {
    map=logobmwa.tga
    emission=.8 .8 .8 1
  }
}
shader_textured_material_logobrdg
{
  layer0
  {
    map=logobrdg.tga
    emission=.8 .8 .8 1
  }
}
shader_textured_material_logocinz
{
  layer0
  {
    map=logocinz.tga
    emission=.8 .8 .8 1
  }
}
shader_textured_material_logodemal
{
  layer0
  {
    map=logodemal.tga
    emission=.8 .8 .8 1
  }
}
shader_logofera
{
  layer0
  {
    map=logofera1.tga
    emission=.8 .8 .8 1
  }
}
shader_textured_material_logofina
{
  layer0
  {
    map=logofina.tga
    emission=.8 .8 .8 1
  }
}
shader_textured_material_logofos1
{
  layer0
  {
    map=logofos1.tga
    emission=.8 .8 .8 1
  }
}
shader_logofos2
{
  layer0
  {
    map=logofos2.tga
    texenv=modulate
    blendfunc=blend
    mipmap=1
  }
}
shader_textured_material_logofost
{
  layer0
  {
    map=logofost.tga
    emission=.8 .8 .8 1
  }
}
shader_textured_material_logofstn
{
  layer0
  {
    map=logofstn.tga
    emission=.5 .5 .5 1
  }
}
shader_textured_material_logofstnb
{
  layer0
  {
    map=logofstnb.tga
    emission=.8 .8 .8 1
  }
}
shader_textured_material_logogdyr
{
  layer0
  {
    map=logogdyr.tga
    emission=.6 .6 .6 1
  }
}
shader_textured_material_logohelx
{
  layer0
  {
    map=logohelx.tga
    emission=.8 .8 .8 1
  }
}
shader_logojaga
{
  layer0
  {
    map=logojaga.tga
    emission=.5 .5 .5 1
  }
}
shader_logojora
{
  layer0
  {
    map=logojora.tga
    emission=.5 .5 .5 1
  }
}
shader_textured_material_logomaga
{
  layer0
  {
    map=logomaga.tga
    emission=.5 .5 .5 1
  }
}
shader_textured_material_logomblb
{
  layer0
  {
    map=logomblb.tga
    emission=.5 .5 .5 1
  }
}
shader_textured_material_logomich
{
  layer0
  {
    map=logomich.tga
    emission=.5 .5 .5 1
  }
}
shader_logomcla
{
  layer0
  {
    map=logomcla.tga
    emission=.5 .5 .5 1
  }
}
shader_logomina
{
  layer0
  {
    map=logomina.tga
    emission=.5 .5 .5 1
  }
}
shader_textured_material_logomlbro
{
  layer0
  {
    map=logomlbro.tga
    emission=.5 .5 .5 1
  }
}
shader_textured_material_logomone
{
  layer0
  {
    map=logomone.tga
    emission=.5 .5 .5 1
  }
}
shader_textured_material_logopetr
{
  layer0
  {
    map=logopetr.tga
    emission=.5 .5 .5 1
  }
}
shader_textured_material_logoprli
{
  layer0
  {
    map=logoprli.tga
    emission=.5 .5 .5 1
  }
}
shader_logoproa
{
  layer0
  {
    map=logoproa.tga
    emission=.5 .5 .5 1
  }
}
shader_logoracer
{
  layer0
  {
    map=logoracer.tga
    emission=.5 .5 .5 1
  }
}
shader_logorena
{
  layer0
  {
    map=logorena.tga
    emission=.5 .5 .5 1
  }
}
shader_logosaua
{
  layer0
  {
    map=logosaua.tga
    emission=.5 .5 .5 1
  }
}
shader_textured_material_logosemb
{
  layer0
  {
    map=logosemb.tga
    emission=.5 .5 .5 1
  }
}
shader_textured_material_logosemp
{
  layer0
  {
    map=logosemp.tga
    emission=.5 .5 .5 1
  }
}
shader_textured_material_logoshe
{
  layer0
  {
    map=logoshe.tga
    emission=.5 .5 .5 1
  }
}
shader_textured_material_logoshlc
{
  layer0
  {
    map=logoshlc.tga
    emission=.5 .5 .5 1
  }
}
shader_textured_material_logotagh
{
  layer0
  {
    map=logotagh.tga
    emission=.5 .5 .5 1
  }
}
shader_logotoya
{
  layer0
  {
    map=logotoya.tga
    emission=.5 .5 .5 1
  }
}
shader_textured_material_logounryal
{
  layer0
  {
    map=logounryal.tga
    emission=.5 .5 .5 1
  }
}
shader_textured_material_logovoda
{
  layer0
  {
    map=logovoda.tga
    emission=.5 .5 .5 1
  }
}
shader_textured_material_logowars
{
  layer0
  {
    map=logowars.tga
    emission=.8 .8 .8 1
  }
}
shader_textured_material_logown
{
  layer0
  {
    map=logown.tga
    emission=.5 .5 .5 1
  }
}
shader_logoyoko
{
  layer0
  {
    map=logoyoko.tga
    emission=.5 .5 .5 1
  }
}
shader_textured_material_mtla
{
  layer0
  {
    map=mtla.tga
    emission=.5 .5 .5 1
  }
}
shader_newback
{
  layer0
  {
    map=newback.tga
    mipmap=1
  }
}
shader_textured_material_numblog
{
  layer0
  {
    map=logoracer.tga
    texenv=replace
  }
}
shader_textured_material_peoplea
{
  layer0
  {
    map=peoplea.tga
    emission=1 1 1 1
    alphafunc=gequal 100
    texenv=modulate
    mipmap=1
  }
}
shader_textured_material_peopleb
{
  layer0
  {
    map=peopleb.tga
    emission=1 1 1 1
    alphafunc=gequal 100
    texenv=modulate
    mipmap=1
  }
}
shader_textured_material_peoplec
{
  layer0
  {
    map=peoplec.tga
    emission=1 1 1 1
    alphafunc=gequal 100
    texenv=modulate
    mipmap=1
  }
}
shader_textured_material_peopled
{
  layer0
  {
    map=peopled.tga
    emission=1 1 1 1
    alphafunc=gequal 100
    texenv=modulate
    mipmap=1
  }
}
shader_textured_material_peoplee
{
  layer0
  {
    map=peoplee.tga
    emission=1 1 1 1
    alphafunc=gequal 100
    texenv=modulate
    mipmap=1
  }
}
shader_textured_material_ptenta
{
  layer0
  {
    map=ptenta.tga
    emission=.5 .5 .5 1
  }
}
shader_textured_material_ptentb
{
  layer0
  {
    map=ptentb.tga
    emission=.5 .5 .5 1
  }
}
shader_ptenta
{
  layer0
  {
    map=ptenta.tga
    emission=.5 .5 .5 1
  }
}
shader_ptentb
{
  layer0
  {
    map=ptentb.tga
    emission=.5 .5 .5 1
  }
}
shader_ptrlit5
{
  layer0
  {
    map=stlitc6.tga
    emission=.5 .5 .5 1
  }
}
shader_ptglit5
{
  layer0
  {
    map=ptglit5.tga
    emission=.5 .5 .5 1
  }
}
shader_ptblit5
{
  layer0
  {
    map=ptglit5.tga
    emission=.5 .5 .5 1
  }
}
shader_textured_material_rdgrass
{
  layer0~_sun
  layer1
  {
    map=rdgrass.tga
    texenv=modulate
    blendfunc=add
    mipmap=1
    emission=.2 .2 .15 1
  }
}
shader_textured_material_rdmtla
{
  layer0
  {
    map=rdmtla.tga
    emission=.5 .5 .5 1
  }
}
shader_textured_material_rmbl
{
  layer0~_sun
  layer1
  {
    map=rmbl.tga
    texenv=modulate
    blendfunc=add
    mipmap=1
    emission=.7 .7 .7 1
  }
}
shader_textured_material_rmblb
{
  layer0~_sun
  layer1
  {
    map=rmbl.tga
    texenv=modulate
    blendfunc=add
    mipmap=1
    emission=.7 .7 .7 1
  }
}
shader_textured_material_rmblc
{
  layer0~_sun
  layer1
  {
    map=rmbl.tga
    texenv=modulate
    blendfunc=add
    mipmap=1
    emission=.7 .7 .7 1
  }
}
shader_textured_material_rmbld
{
  layer0~_sun
  layer1
  {
    map=rmbl.tga
    texenv=modulate
    blendfunc=add
    mipmap=1
    emission=.7 .7 .7 1
  }
}
shader_textured_material_rmblg
{
  layer0~_sun
  layer1
  {
    map=rmblg.tga
    texenv=modulate
    blendfunc=add
    mipmap=1
    emission=.7 .7 .7 1
  }
}
shader_textured_material_rmblh
{
  layer0~_sun
  layer1
  {
    map=rmblh.tga
    texenv=modulate
    blendfunc=add
    mipmap=1
    emission=.7 1 .7 1
  }
}
shader_textured_material_road
{
  layer0~_sun
  layer1
  {
    map=road.tga
    texenv=modulate
    blendfunc=add
    mipmap=1
    emission=.2 .2 .15 1
  }
}
shader_textured_material_roada
{
  layer0~_sun
  layer1
  {
    map=roada.tga
    texenv=modulate
    blendfunc=add
    mipmap=1
    emission=.2 .2 .15 1
  }
}
shader_textured_material_roadb
{
  layer0~_sun
  layer1
  {
    map=roadb.tga
    texenv=modulate
    blendfunc=add
    mipmap=1
    emission=.2 .2 .15 1
  }
}
shader_textured_material_roadd
{
  layer0~_sun
  layer1
  {
    map=roadd.tga
    texenv=modulate
    blendfunc=add
    mipmap=1
    emission=.2 .2 .15 1
  }
}
shader_textured_material_roade
{
  layer0~_sun
  layer1
  {
    map=roade.tga
    texenv=modulate
    blendfunc=add
    mipmap=1
    emission=.2 .2 .15 1
  }
}
shader_textured_material_roadf
{
  layer0~_sun
  layer1
  {
    map=roadf.tga
    texenv=modulate
    blendfunc=add
    mipmap=1
    emission=.4 .4 .4 1
  }
}
shader_textured_material_roadgrd
{
  layer0~_sun
  layer1
  {
    map=roadgrd.tga
    texenv=modulate
    blendfunc=add
    mipmap=1
    emission=.2 .2 .15 1
  }
}
shader_textured_material_roadj
{
  layer0~_sun
  layer1
  {
    map=roadd.tga
    texenv=modulate
    blendfunc=add
    mipmap=1
    emission=.2 .2 .15 1
  }
}
shader_textured_material_roadk
{
  layer0~_sun
  layer1
  {
    map=roadk.tga
    texenv=modulate
    blendfunc=add
    mipmap=1
    emission=.2 .2 .15 1
  }
}
shader_textured_material_roadl
{
  layer0~_sun
  layer1
  {
    map=roadl.tga
    texenv=modulate
    blendfunc=add
    mipmap=1
    emission=.2 .2 .15 1
  }
}
shader_textured_material_roadpite
{
  layer0~_sun
  layer1
  {
    map=roadpite.tga
    texenv=modulate
    blendfunc=add
    emission=.2 .2 .15 1
  }
}
shader_textured_material_roadpitf
{
  layer0~_sun
  layer1
  {
    map=roadpitf.tga
    texenv=modulate
    blendfunc=add
    emission=.2 .2 .15 1
  }
}
shader_textured_material_rptopsel
{
  layer0
  {
    map=rptopsel.tga
    texenv=modulate
    blendfunc=blend
    mipmap=1
  }
}
shader_textured_material_rptpsiem
{
  layer0
  {
    map=rptpsiem.tga
    emission=.5 .5 .5 1
  }
}
shader_rptpsiem
{
  layer0
  {
    map=rptpsiem.tga
    emission=.5 .5 .5 1
  }
}
shader_textured_material_shada
{
  layer0
  {
    map=shada.tga
    emission=.2 .2 .2 1
  }
}
shader_spafranc
{
  layer0
  {
    map=$trackenvmap
    texgen_s=reflection_map
    texgen_t=reflection_map
    texgen_r=reflection_map
    shininess=0
    texenv=replace
  }
  layer1
  {
    blendfunc=one src_alpha 
    map=spafranc.tga
    emission=0.5 0.5 0.5 1
  }
}
shader_stlit
{
  layer0
  {
    map=stlit.tga
    emission=0.6 0.6 0.6 1
  }
}
shader_stlita6
{
  layer0
  {
    map=stlitc6.tga
    emission=0.6 0.6 0.6 1
  }
}
shader_stlitb6
{
  layer0
  {
    map=stlitc6.tga
    emission=0.6 0.6 0.6 1
  }
}
shader_stlitc6
{
  layer0
  {
    map=stlita6.tga
    emission=0.6 0.6 0.6 1
  }
}
shader_stlitd6
{
  layer0
  {
    map=stlitd6.tga
    emission=0.6 0.6 0.6 1
  }
}
shader_stlite6
{
  layer0
  {
    map=stlite6.tga
    emission=0.6 0.6 0.6 1
  }
}
shader_strboxa
{
  cull=none
  layer0
  {
    map=strboxa.tga
    texenv=modulate
    blendfunc=blend
    mipmap=1
  }
}
shader_textured_material_tenta
{
  layer0
  {
    map=tenta.tga
    emission=0.5 0.5 0.5 1
  }
}
shader_textured_material_tentb
{
  layer0
  {
    map=tentb.tga
    emission=0.5 0.5 0.5 1
  }
}
shader_textured_material_tentc
{
  layer0
  {
    map=tentc.tga
    emission=0.5 0.5 0.5 1
  }
}
shader_textured_material_tenth
{
  layer0
  {
    map=tenth.tga
    emission=0.5 0.5 0.5 1
  }
}
shader_trailer
{
  layer0
  {
    map=trailer.tga
    emission=0.5 0.5 0.5 1
  }
}
shader_textured_material_treeg
{
  layer0
  {
    map=treeg.tga
    alphafunc=gequal 180
    emission=0.3 0.3 0.3 1
  }
}
shader_textured_material_treeh
{
  layer0
  {
    map=treeh.tga
    alphafunc=gequal 180
    emission=0.3 0.3 0.3 1
  }
}
shader_textured_material_treei
{
  layer0
  {
    map=treei.tga
    alphafunc=gequal 180
    emission=0.3 0.3 0.3 1
  }
}
shader_textured_material_trelna
{
  layer0
  {
    map=trelna.tga
    alphafunc=gequal 180
    emission=0.3 0.3 0.3 1
    texenv=modulate
    blendfunc=blend
  }
}
shader_textured_material_trelnb
{
  layer0
  {
    map=trelnb.tga
    alphafunc=gequal 180
    emission=0.3 0.3 0.3 1
    texenv=modulate
    blendfunc=blend
  }
}
shader_textured_material_treshdow
{
  layer0
  {
    map=treshdow.tga
    wrap_t=clamp_to_edge
    blendfunc=blend
    texenv=modulate
    blendfunc=blend
  }
}
shader_twall
{
  layer0
  {
    map=twall.tga
    shininess=50
    emission=0.8 0.8 0.8 1
    texenv=modulate
    blendfunc=blend
  }
}
shader_textured_material_twalla
{
  layer0
  {
    map=twalla.tga
    shininess=50
    emission=1 1 0.8 1
    texenv=modulate
    blendfunc=blend
  }
}
shader_textured_material_twallb
{
  layer0
  {
    map=twallb.tga
    shininess=50
    emission=1 1 .8 1
    texenv=modulate
    blendfunc=blend
  }
}
shader_textured_material_twtpa
{
  layer0
  {
    map=twtpa.tga
    shininess=50
    emission=1 1 .8 1
    texenv=modulate
    blendfunc=blend
  }
}
shader_textured_material_twtpb
{
  layer0
  {
    map=twtpb.tga
    shininess=50
    emission=1 1 .8 1
    texenv=modulate
    blendfunc=blend
  }
}
shader_textured_material_whtcncrt
{
  layer0
  {
    map=whtcncrt.tga
    emission=.7 .7 .7 1
  }
}
shader_textured_material_wndowa
{
  layer0
  { 
    map=wndowa.tga
    blendfunc=src_alpha one_minus_src_alpha
    depthwrite=1
    emission=.1 .1 .1 1
  }
  layer1
  {
    map=$trackenvmap
    texgen_s=reflection_map
    texgen_t=reflection_map
    texgen_r=reflection_map
    alphafunc=gequal 120
    blendfunc=src_color one_minus_src_color
    emission=.1 .1 .1 1
  }
}
shader_textured_material_wndowb
{
  layer0
  {
    map=$trackenvmap
    texgen_s=reflection_map
    texgen_t=reflection_map
    texgen_r=reflection_map
    shininess=0
  }
  layer1
  {
    blendfunc=one src_alpha 
    map=wndowb.tga
    emission=0.3 0.3 0.3 1
    diffuse=0.6 0.6 0.6
    ambient=0.6 0.6 0.6
  }
}
shader_textured_material_wndowc
{
  layer0
  {
    map=$trackenvmap
    texgen_s=reflection_map
    texgen_t=reflection_map
    texgen_r=reflection_map
    shininess=0
  }
  layer1
  {
    blendfunc=one src_alpha 
    map=wndowc.tga
    emission=0.3 0.3 0.3 1
    diffuse=0.6 0.6 0.6
    ambient=0.6 0.6 0.6
  }
}
shader_clio05
{
  cull=none
  layer0
  {
    map=clio05.tga
    emission=.7 .7 .7 1
    alphafunc=gequal 120
  }
} 
shader_groove
{
  layer0
  {
    map=groove.tga
    blendfunc=blend
    alphafunc=gequal 1
    depthwrite=0
  }
}  