shader_body
{
  cull=none
  layer0
  {
    map=gradient.tga
    texgen_s=sphere_map
    texgen_t=sphere_map
    emission=1. 1. 1. 1.
  }
  layer1
  {
    map=$trackenvmap
    texgen_s=reflection_map
    texgen_t=reflection_map
    texgen_r=reflection_map
    emission=1. 1. 1. 1.
    blendfunc=filter
  }
  layer2
  {
    map=body.tga
    blendfunc=dst_alpha src_alpha
    emission=.3. .3. .3. .3.
    mipmap=0
  }
}
shader_windows
{
layer0
{
map=window.tga
    blendfunc=src_alpha one_minus_src_alpha
specular=0.04 0.04 0.04
;ambient=0.3 0.3 0.3
diffuse=0.4 0.4 0.4 
emission=0.3 0.3 0.3 1
}
  layer1
  {
    map=$trackenvmap
    texgen_s=reflection_map
    texgen_t=reflection_map
    texgen_r=reflection_map
    blendfunc=src_color one_minus_src_color
diffuse=0.5 0.5 0.5 
emission=1 1 1
}
}
shader_blights
{
layer0
{
shininess=50
specular=0.4 0.4 0.4 0.6
ambient=5 5 5 5
diffuse=5 5 5 5 
emission=5 5 5 5
alphafunc=greater 0
map=logo.tga
}
}

shader_rims
{
layer0
{
shininess=30
specular=0.4 0.4 0.4
ambient=0.3 0.3 0.3
diffuse=0.5 0.5 0.5 
emission=0.5 0.5 0.5 1
;alphafunc=less 255
map=rims.tga
}
}
shader_tred
{
layer0
{
shininess=30
specular=0.4 0.4 0.4
ambient=0.3 0.3 0.3
diffuse=0.5 0.5 0.5 
emission=0.5 0.5 0.5 1
;alphafunc=less 255
map=tred.tga
}
}
shader_wheel
{
layer0
{
shininess=30
specular=0.4 0.4 0.4
ambient=0.3 0.3 0.3
diffuse=0.5 0.5 0.5 
emission=0.5 0.5 0.5 1
;alphafunc=less 255
map=wheel.tga
}
}

shader_brakes
{
layer0
{
map=$trackenvmap
texgen_s=reflection_map
texgen_t=reflection_map
texgen_r=reflection_map
diffuse=0.5 0.5 0.5 
emission=1 1 1
}
layer1
{
blendfunc=src_alpha one_minus_src_alpha
shininess=50
specular=0.4 0.4 0.4
ambient=0.3 0.3 0.3
diffuse=0.5 0.5 0.5 
emission=0.5 0.5 0.5 1
alphafunc=greater 0
map=brakes.tga
}
}
shader_silver
{
layer0
{
map=$trackenvmap
texgen_s=reflection_map
texgen_t=reflection_map
texgen_r=reflection_map
diffuse=0.5 0.5 0.5 
emission=1 1 1
}
layer1
{
blendfunc=src_alpha one_minus_src_alpha
shininess=50
specular=0.4 0.4 0.4
ambient=0.3 0.3 0.3
diffuse=0.5 0.5 0.5 
emission=0.5 0.5 0.5 1
alphafunc=greater 0
map=silver.tga
}
}
shader_lights
{
  layer0
  {
    map=gradient.tga
    texgen_s=sphere_map
    texgen_t=sphere_map
    emission=1. 1. 1. 1.
  }
 layer1
  {
    map=$trackenvmap
    texgen_s=reflection_map
    texgen_t=reflection_map
    texgen_r=reflection_map
    emission=1. 1. 1. 1.
    blendfunc=filter
  }
 layer2
  {
    map=lights.tga
    blendfunc=dst_alpha src_alpha
    emission=.3. .3. .3. .3.
    mipmap=0
  }
}
shader_numeros
{
    layer0
  {
    map=gradient.tga
    texgen_s=sphere_map
    texgen_t=sphere_map
    emission=1. 1. 1. 1.
  }
 layer1
  {
    map=$trackenvmap
    texgen_s=reflection_map
    texgen_t=reflection_map
    texgen_r=reflection_map
    emission=1. 1. 1. 1.
    blendfunc=filter
  }
 layer2
  {
    map=numeros.tga
    blendfunc=dst_alpha src_alpha
    emission=.3. .3. .3. .3.
    mipmap=0
  }
}
shader_logo
{
  layer0
  {
    map=gradient.tga
    texgen_s=sphere_map
    texgen_t=sphere_map
    emission=1. 1. 1. 1.
  }
 layer1
  {
    map=$trackenvmap
    texgen_s=reflection_map
    texgen_t=reflection_map
    texgen_r=reflection_map
    emission=1. 1. 1. 1.
    blendfunc=filter
  }
 layer2
  {
    map=logo.tga
    blendfunc=dst_alpha src_alpha
    emission=.3. .3. .3. .3.
    mipmap=0
  }
}
shader_engine
{
layer0
{
shininess=50
specular=0.4 0.4 0.4
ambient=0.3 0.3 0.3
diffuse=0.5 0.5 0.5 
emission=0.5 0.5 0.5 1
alphafunc=greater 0
map=engine.tga
}
}
shader_sw
{
layer0
{
shininess=50
specular=0.4 0.4 0.4
ambient=0.3 0.3 0.3
diffuse=0.5 0.5 0.5 
emission=0.5 0.5 0.5 1
alphafunc=greater 0
map=silver.tga
}
}
shader_seats
{
layer0
{
shininess=50
specular=0.4 0.4 0.4
ambient=0.3 0.3 0.3
diffuse=0.5 0.5 0.5 
emission=0.5 0.5 0.5 1
alphafunc=greater 0
map=lights.tga
}
}
