; Rallycross track shaders by the "AlfaNut"  21 Oct 03
;
;shader_sjosky-transparent
{
  sky=1
  fog=0
  layer0
  {
    map=sjosky-transparent.tga
    texenv=replace
    cull=back
    depthfunc=always
    depthwrite=0   
  }
}
;shader_sky
{
  sky=1
  fog=0
  layer0
  {
    map=sky.jpg
    texenv=replace
    cull=back
    depthfunc=always
    depthwrite=0   
  }
}
shader_sky
{
  sky=1
  fog=0
  layer0
  {
    map=sky.tga
    texenv=replace
    cull=back
    depthfunc=always
    depthwrite=0   
  }
}
; road surfaces
shader_mud
{
  layer0
  {
    map=mud.tga
    blendfunc=blend
    texenv=replace
  }
}
shader_mud_gravel
{
  layer0
  {
    map=mud_gravel.tga
    blendfunc=blend
    texenv=replace
  }
}
shader_mud-tarmac
{
  layer0
  {
    map=mud-tarmac.tga
    texenv=replace
    blendfunc=blend
  }
}
shader_tarmac
{
  layer0
  {
    map=tarmac.tga
    blendfunc=blend
    texenv=replace
  }
}
shader_tarmac-brake1
{
  layer0
  {
    map=tarmac-brake1.tga
    blendfunc=blend
    texenv=modulate  ;replace
  }
}
shader_tarmac-brake2
{
  layer0
  {
    map=tarmac-brake2.tga
    blendfunc=blend
    texenv=modulate  ;replace
  }
}
shader_tarmac-brake3
{
  layer0
  {
    map=tarmac-brake3.tga
    blendfunc=blend
    texenv=modulate ;replace
  }
}
shader_tarmac-mud
{
  layer0
  {
    map=tarmac-mud.tga
    blendfunc=blend
    texenv=modulate  ;replace
  }
}
shader_tarmac-p
{
  layer0
  {
    map=tarmac-p.tga
    blendfunc=blend
    texenv=replace
  }
}
shader_tarmac-start
{
  layer0
  {
    map=tarmac-start.tga
    blendfunc=blend
    texenv=replace
  }
}
shader_curbes
{
  layer0
  {
    map=curbes.tga
    texenv=replace
    blendfunc=blend
  }
}
shader_grass
{
  layer0
  {
    map=grass.tga
    blendfunc=blend
    texenv=replace
  }
}
shader_gravel
{
  layer0
  {
    map=gravel.tga
    blendfunc=blend
    texenv=replace
  }
}
;  buildings, walls and fences
shader_wall
{
  layer0
  {
    map=wall.tga
    ;texenv=replace
    mipmap=0
  }
}
shader_windows
{
  layer0
  {
    map=windows.tga
    texenv=replace
    mipmap=1
  }
}
shader_wood
{
  layer0
  {
    map=wood.tga
    texenv=replace
    mipmap=1
  }
}
shader_woodr
{
  layer0
  {
    map=woodr.tga
    texenv=replace
    mipmap=1
  }
}
shader_woodw
{
  layer0
  {
    map=woodw.tga
    texenv=replace
    mipmap=1
  }
}
shader_armco
{
  layer0
  {
    map=armco.tga
    texenv=replace
    mipmap=1
  }
}
shader_staket
{
  layer0
  {
    map=staket.tga
    texenv=replace
    depthwrite=1
    ;alphafunc=gequal 100
    mipmap=1
  }
}
shader_staket_pits
{
  layer0
  {
    map=staket_pits.tga
    blendfunc=blend
    depthwrite=1
    alphafunc=gequal 150
  }
}
shader_hobal_red
{
  layer0
  {
    map=hobal_red.tga
    texenv=replace
    mipmap=0
  }
}
shader_hobal_white
{
  layer0
  {
    map=hobal_white.tga
    texenv=replace
    mipmap=0
  }
}
shader_stativ
{
  layer0
  {
    map=stativ.tga
    ;texenv=replace
    ;mipmap=0
    depthwrite=1
    alphafunc=gequal 100
  }
}
shader_door
{
  layer0
  {
    map=door.tga
    texenv=replace
    mipmap=0
  }
}
shader_fence
{
  layer0
  {
    map=fence.tga
    ;texenv=replace
    mipmap=1
    depthwrite=1
    alphafunc=gequal 100
  }
}
shader_bridge_w
{
  layer0
  {
    map=bridge_w.tga
    texenv=replace
    mipmap=1
  }
}
shader_tents
{
  layer0
  {
    map=tents.tga
    texenv=replace
    mipmap=1
  }
}
shader_tents2
{
  layer0
  {
    map=tents2.tga
    texenv=replace
    mipmap=1
  }
}
shader_grind
{
  layer0
  {
    map=grind.tga
    texenv=replace
    mipmap=1
  }
}
shader_reklam
{
  layer0
  {
    map=reklam.tga
    texenv=replace
    mipmap=1
  }
}
shader_reklam2
{
  layer0
  {
    map=reklam2.tga
    texenv=replace
    mipmap=1
  }
}
shader_startlight
{
  layer0
  {
    map=startlight.tga
    texenv=replace
    mipmap=0
  }
}
;        TREES
;
shader_bjork-stam
{
  layer0
  {
    map=bjork-stam.tga
    ;blendfunc=blend
    texenv=replace
    mipmap=1
  }
}
;shader_tall-stam
{
  layer0
  {
    map=tall-stam.tga
    ;blendfunc=blend
    texenv=replace
    mipmap=1
  }
}
shader_bjork
{
  layer0
  {
    map=bjork.tga
    blendfunc=blend
    depthwrite=1
    alphafunc=gequal 180
    texenv=replace
    mipmap=1
  }
}
shader_bjork2
{
  layer0
  {
    map=bjork2.tga
    blendfunc=blend
    depthwrite=1
    alphafunc=gequal 180
    texenv=replace
    mipmap=1
  }
}
shader_bjorkback
{
  layer0
  {
    map=bjorkback.tga
    ;map=tallback1.tga
    blendfunc=blend
    depthwrite=1
    alphafunc=gequal 180
    texenv=replace
    mipmap=1
  }
}
shader_gran
{
  layer0
  {
    map=gran.tga
    blendfunc=blend
    depthwrite=1
    alphafunc=gequal 180
    texenv=replace
    mipmap=1
  }
}
shader_granback1
{
  layer0
  {
    map=granback1.tga
    blendfunc=blend
    ;depthwrite=1
    alphafunc=gequal 180
    texenv=replace
    mipmap=1
  }
}
shader_granback2
{
  layer0
  {
    map=granback2.tga
    blendfunc=blend
    ;depthwrite=1
    alphafunc=gequal 180
    texenv=replace
    mipmap=1
  }
}
shader_skogback1
{
  layer0
  {
    map=skogback1.tga
    blendfunc=blend
    alphafunc=gequal 180
    texenv=replace
  }
}
shader_tall
{
  layer0
  {
    map=tall.tga
    ;blendfunc=blend
    depthwrite=1
    alphafunc=gequal 100
    texenv=replace
    mipmap=1
  }
}
shader_tall2
{
  layer0
  {
    map=tall2.tga
    texenv=replace
    mipmap=1
    ;blendfunc=blend
    ;depthwrite=1
    alphafunc=gequal 100
  }
}
shader_tallback1
{
  layer0
  {
    map=tallback1.tga
    blendfunc=blend
    texenv=replace
  }
}
shader_tallback2
{
  layer0
  {
    map=tallback2.tga
    blendfunc=blend
    ;depthwrite=1
    alphafunc=gequal 100
    texenv=replace
  }
}
shader_sjo
{
  layer0
  {
    map=sjo.tga
    texenv=replace
    mipmap=0
  }
}
shader_sjo_lay
{
  layer0
  {
    map=sjo_lay.tga
    texenv=replace
    mipmap=0
  }
}
shader_sjo2
{
  layer0
  {
    map=sjo2.tga
    texenv=replace
    mipmap=0
  }
}
shader_spectator1
{
  layer0
  {
    map=spectator1.tga
    blendfunc=blend
    texenv=replace
  }
}
shader_spectators2
{
  layer0
  {
    map=spectators2.tga
    blendfunc=blend
    texenv=replace
  }
}
shader_berg
{
  layer0
  {
    map=berg.tga
    texenv=replace
    mipmap=0
  }
}
