;---------------------------------------------------
;==================== Wheel & Brake ================
;---------------------------------------------------

shader_txt_wheel
{
   layer0
  {
    map=txt_Wheel.tga
    shininess=10
    specular=0.2 0.2 0.2 1
  }
}


shader_txt_rim
{
  layer0
  {
    map=txt_rim.tga
  }
}

shader_txt_rim1
{
  layer0
  {
    map=txt_rim1.tga
  }
}

shader_txt_rim2
{
  layer0
  {
    map=txt_rim2.tga
  }
}

;-----------------------------------------------
;==================== Windows ==================
;-----------------------------------------------

shader_txt_glass 
{
cull=none
  layer0
  {
    ;depthwrite=0
    map=txt_glass.tga
    blendfunc=blend
  }
  layer1
  {
    ;depthwrite=0
    texenv=replace
    map=txt_fresnel2.tga
    texgen_s=sphere_map
    texgen_t=sphere_map
    blendfunc=one dst_alpha
  }
  layer2
  {
    map=$trackenvmap
    texgen_s=reflection_map
    texgen_t=reflection_map
    texgen_r=reflection_map
    blendfunc=src_color one
    depthwrite=0
  }
}

shader_txt_glass_in
{
cull=none
  layer0
  {
    ;depthwrite=0
    map=txt_glass.tga
    blendfunc=blend
  }
  layer1
  {
    ;depthwrite=0
    texenv=replace
    map=txt_fresnel2.tga
    texgen_s=sphere_map
    texgen_t=sphere_map
    blendfunc=one dst_alpha
  }
}
shader_car00
{
  layer0
  {
    map=car00.tga
  }
}
shader_dash00
{
  layer0
  {
    map=dash00.tga
  }
}
shader_black
{
  layer0
  {
    map=black.tga
  }
}
shader_dash00
{
  layer0
  {
    map=dash00.tga
  }
}
shader_txt_dashboard
{
  layer0
  {
    map=txt_dashboard.tga
  }
}
shader_txt_family
{
  layer0
  {
    map=txt_family.tga
  }
}
shader_txt_plastic
{
  layer0
  {
    map=txt_plastic.tga
  }
}
shader_siedzenia	
{
  layer0
  {
    map=siedzenia.tga
  }
}
shader_textura3	
{
  layer0
  {
    map=textura3.tga
  }
}
shader_txt_lights2
{
  layer0
  {
    map=txt_lights2.tga
  }
}
shader_interior3
{
  layer0
    {
      map=interior3.tga
    blendfunc=blend
    alphafunc=gequal 150
    depthwrite=1
    }
}
shader_trim
{
  layer0
  {
    map=trim.tga
  }
}
shader_logo
{
  layer0
  {
    map=body.tga
  }
}

--- ruote

shader_txt_classic1
{
  layer0
  {
    map=txt_classic1.tga
  }
}
shader_txt_tread1
{
  layer0
  {
    map=txt_tread1.tga
  }
}
shader_txt_sidewall1
{
  layer0
  {
    map=txt_sidewall1.tga
  }
}
















shader_txt_mirror
{
cull=none
layer0
{
    map=$mirror
    texscale_s=1
    texscale_r=1
    texscale_t=1
    emission=0.1 0.1 0.1 1
}
}
------------- luci ---------------------
shader_headlights
{
  layer0
    {
      map=headlights.tga
      emission=1 1 1 1
      shininess=0
      specular=0 0 0 1
      blendfunc=blend
      texenv=replace
    }
}

shader_txt_halo
{
cull=none
depthwrite=1
layer0
{
    map=txt_halo.tga
    shininess=28
    specular= .02 .02 .02
    diffuse= .9 .9 .9
    ambient= .18 .18 .18
    blendfunc=src_color one
  }
}



shader_txt_lights2on
{
cull=none
depthwrite=1
layer0
{
    map=txt_lights2on.tga
    shininess=28
    specular= .02 .02 .02
    diffuse= .99 .99 .99
    ambient= .18 .18 .18
    blendfunc=src_color one
  }
}
shader_dashon
{
cull=none
depthwrite=1
layer0
{
    map=dashon.tga
    shininess=28
    specular= .02 .02 .02
    diffuse= .99 .99 .99
    ambient= .18 .18 .18
    blendfunc=src_color one
  }
}
shader_car00on
{
cull=none
depthwrite=1
layer0
{
    map=car00on.tga
    shininess=28
    specular= .02 .02 .02
    diffuse= .99 .99 .99
    ambient= .18 .18 .18
    blendfunc=src_color one
  }
}
