; Brands Hatch track shaders by the "AlfaNut" thanks to Mr. Smiles ideas and Hooi's input.  Teamwork!!!
shader_BrandsSKY
{
  sky=1
  fog=0
  layer0
  {
    ;texenv=modulate
    map=SKY.tga
    cull=back
    depthfunc=always
    depthwrite=1
  }
}

shader_misc
{
 layer0
  {
    map=misc.tga
    alphafunc=gequal 180
    ;texenv=replace
    ;emission=0.3 0.3 0.3
    mipmap=0
  }
}
shader_track
{
  layer0
  {
    map=track.tga
    ;texenv=modulate
    mipmap=0
    ;emission=0.5 0.5 0.5
    ambient=0.15 0.15 0.1
    specular=0.2 0.2 0.13
    shininess=25
  }
}
shader_blend
{
  layer0
  {
    map=blend.tga
    ;texenv=modulate
    mipmap=0
    ;emission=0.2 0.2 0.2
    ambient=0.1 0.1 0.1
    specular=0.2 0.2 0.13
  }
}
shader_adsa
{
  layer0
  {
    map=adsa.tga
    alphafunc=gequal 100
    ;texenv=replace
    ;emission=0.3 0.3 0.3
    mipmap=0
  }
}
shader_adsb
{
  layer0
  {
    map=adsb.tga
    alphafunc=gequal 100
    ;texenv=replace
    ;emission=0.3 0.3 0.3
    mipmap=0
  }
}
shader_grass
{
  layer0
  {
    map=grass.tga
    ;texenv=replace
    ;emission=0.3 0.3 0.3
    ambient=0.1 0.1 0.1
    specular=0.2 0.2 0.13
    mipmap=1
  }
}
shader_grass2
{
  layer0
  {
    map=grass2.tga
    ;texenv=replace
    ;emission=0.3 0.3 0.3
    ambient=0.1 0.1 0.1
    specular=0.2 0.2 0.13
    mipmap=1
  }
}
shader_gravel
{
  layer0
  {
    map=gravel.tga
    ;texenv=replace
    ;emission=0.3 0.3 0.3
    mipmap=1
  }
}
shader_alpha
{
 layer0
  {
    map=alpha.tga
    alphafunc=gequal 100
    ;texenv=replace
    ;emission=0.3 0.3 0.3
    mipmap=1
  }
}
shader_chewy
{
 layer0
  {
    map=chewy.tga
    alphafunc=gequal 100
    ;texenv=replace
    ;emission=0.3 0.3 0.3
    mipmap=1
  }
}
shader_armco
{
  layer0
  {
    map=armco.tga
    alphafunc=gequal 100
    ;texenv=replace
    ;emission=0.3 0.3 0.3
    mipmap=0
  }
}
shader_blfence
{
 layer0
  {
    map=blfence.tga
    blendfunc=blend
    alphafunc=gequal 100
    ;texenv=replace
    ;emission=0.3 0.3 0.3
    mipmap=1
  }
}
shader_fenceout
{
 layer0
  {
    map=fenceout.tga
    blendfunc=blend
    alphafunc=gequal 100
    ;texenv=replace
    ;emission=0.3 0.3 0.3
    mipmap=1
  }
}
shader_cwallc
{
  layer0
  {
    map=cwallc.tga
    alphafunc=gequal 100
    ;texenv=replace
    ;emission=0.3 0.3 0.3
    mipmap=0
  }
}
shader_crowd
{
  layer0
  {
    map=crowd.tga
    alphafunc=gequal 100
    ;texenv=replace
    ;emission=0.3 0.3 0.3
    mipmap=0
  }
}
shader_cwalld
{
  layer0
  {
    map=cwalld.tga
    alphafunc=gequal 100
    ;texenv=replace
    ;emission=0.3 0.3 0.3
    mipmap=0
  }
}
shader_gs
{
  layer0
  {
    map=gs.tga
    alphafunc=gequal 100
    ;texenv=replace
    ;emission=0.3 0.3 0.3
    mipmap=0
  }
}
shader_kltyre
{
  layer0
  {
    map=kltyre.tga
    ;texenv=replace
    mipmap=1
  }
}
shader_net
{
 layer0
  {
    map=net.tga
    blendfunc=blend
    alphafunc=gequal 100
    ;texenv=replace
    ;emission=0.3 0.3 0.3
    mipmap=1
  }
}
shader_posts
{
  layer0
  {
    map=posts.tga
    alphafunc=gequal 100
    ;texenv=replace
    ;emission=0.3 0.3 0.3
    mipmap=0
  }
}
shader_rafters
{
  layer0
  {
    map=rafters.tga
    alphafunc=gequal 100
    ;texenv=replace
    ;emission=0.3 0.3 0.3
    ambient=0.1 0.1 0.1
    specular=0.2 0.2 0.13
    mipmap=0
  }
}
shader_redfence
{
  layer0
  {
    map=redfence.tga
    alphafunc=gequal 100
    ;texenv=replace
    ;emission=0.3 0.3 0.3
    mipmap=0
  }
}
shader_roof-tile
{
  layer0
  {
    map=roof-tile.tga
    alphafunc=gequal 100
    ;texenv=replace
    ;emission=0.3 0.3 0.3
    mipmap=0
  }
}
shader_standback
{
  layer0
  {
    map=standback.tga
    alphafunc=gequal 100
    ;texenv=replace
    ;emission=0.3 0.3 0.3
    mipmap=0
  }
}
shader_steel2
{
  layer0
  {
    map=steel2.tga
    ;texenv=replace
    ;emission=0.3 0.3 0.3
    mipmap=1
  }
}
shader_terrace
{
  layer0
  {
    map=terrace.tga
    ;texenv=replace
    ;emission=0.3 0.3 0.3
    mipmap=1
  }
}
shader_trees
{
  layer0
  {
    map=trees.tga
    alphafunc=gequal 100
    ;texenv=replace
    ;emission=0.3 0.3 0.3
    mipmap=0
  }
}
shader_ukflag
{
  layer0
  {
    map=ukflag.tga
    alphafunc=gequal 100
    ;texenv=replace
    ;emission=0.3 0.3 0.3
    mipmap=1
  }
}
shader_vans
{
 layer0
  {
    map=vans.tga
    alphafunc=gequal 100
    ;texenv=replace
    ;emission=0.3 0.3 0.3
    mipmap=1
  }
}
shader_whtcon1
{
  layer0
  {
    map=whtcon1.tga
    alphafunc=gequal 100
    ;texenv=replace
    ;emission=0.3 0.3 0.3
    mipmap=0
  }
}
shader_whtcon1new
{
  layer0
  {
    map=whtcon1new.tga
    alphafunc=gequal 100
    ;texenv=replace
    ;emission=0.3 0.3 0.3
    mipmap=0
  }
}
