;body------------------------------------------------------------------------------

shader_karoseria
{
	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
		shininess=16
		specular=0.6 0.6 0.6
		blendfunc=filter
	}
	layer2
	{
		map=karoseria.tga
		blendfunc=one src_alpha
	}
}
shader_e63_wheel
{
	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
		shininess=16
		specular=0.6 0.6 0.6
		blendfunc=filter
	}
	layer2
	{
		map=e63_wheel.tga
		blendfunc=one src_alpha
	}
}

;mirror----------------------------------------------------------------------------
shader_mirror
{
  layer0
    {
       map=$mirror
       texscale_s=-1
       texscale_r=-1
       texscale_t=-1
       emission=0.5 0.5 0.5 1
    }
}
;---------------------------------------------------------------------------------

shader_plastic
{
  layer0
  {
    map=plastic.tga
  }
}

shader_glice_metal
{
  layer0
  {
    map=$trackenvmap
    texgen_s=reflection_map
    texgen_t=reflection_map
    texgen_r=reflection_map
      shininess=38
      specular=1 1 1 1
  }
  layer1
  {
    map=glice_metal.tga
    blendfunc=one src_alpha
  shininess=40
  specular=0.36 0.35 0.34
  }
}

shader_tx_w221_01
{
  layer0
  {
    map=tx_w221_01.tga
    specular.2 .2 .2 1
    shininess=4
    mipmap=0
  }
}

shader_black
{
  layer0
  {
    map=black.tga
  }
}

shader_e63_interior
{
  layer0
  {
    map=e63_interior.tga
  }
}

shader_e63_engine
{
  layer0
  {
    map=e63_engine.tga
  }
}

shader_e63_interioral
{
  layer0
  {
    map=e63_interioral.tga
  }
}

shader_e63_tex
{
  layer0
  {
    map=e63_tex.tga
  }
}
shader_int0100
{
  layer0
  {
    map=int0100.tga
  }
}

shader_e63_texal
{
  layer0
  {
    map=e63_texal.tga
  }
}
shader_e63_wood
{
  layer0
  {
    map=e63_wood.tga
  }
}

shader_tx_w221_17
{
	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=0.65 0.65 0.65
		shininess=20
		specular=0.4 0.4 0.4
		blendfunc=filter
	}
	layer2
	{
		map=tx_w221_17.tga
		blendfunc=one src_alpha
                        shininess=20
                        specular=0.1 0.1 0.1
	}
}


shader_tx_w221_05
{
 layer0
 {
  map=tx_w221_05.tga
  specular.2 .2 .2 1
  shininess=4
  mipmap=0 
 }
}

shader_grid_03
{
  layer0
  {
    map=grid_03.tga
  }
}

shader_lights
{
  layer0
  {
    map=lights.tga
  }
}

shader_grill
{
  layer0
  {
    map=grill.tga
    blendfunc=blend
  }
}

shader_tiresim_sidewall
{
  layer0
  {
    map=tiresim_sidewall.tga
  }
}
shader_tiresim
{
  layer0
  {
    map=tiresim.tga
  }
}
shader_black2
{
  layer0
  {
    map=black2.tga
    shininess=10
    specular=0.4 0.4 0.4
    mipmap=0
   }
}

shader_carplate
{
 layer0
 {
  map=carplate.tga
  shininess=10
  specular=0.4 0.4 0.4
  mipmap=0
  }
}

shader_cinza1
{
  layer0
  {
    map=cinza1.tga
  }
}

shader_cinza2
{
  layer0
  {
    map=cinza2.tga
  }
}

shader_vehiclelights128
{
  layer0
  {
    map=vehiclelights128.tga
  }
}

shader_tx_w221_04
{
  layer0
  {
    map=tx_w221_04.tga
  }
}

shader_exsh
{
  layer0
  {
    map=exsh.tga
  }
}


shader_mesh
{
  layer0
  {
    map=mesh.tga
  }
}

shader_tx_w221_02
{
 layer0
 {
  map=tx_w221_02.tga
  mipmap=0
 }
}


shader_tx_w221_engine
{
 layer0
 {
  map=tx_w221_engine.tga
   }
}

shader_s500_in

{
 layer0
 {
  map=s500_in.tga
  mipmap=0
   }
}

;windows---------------------------------------------------------------------------

shader_windows
{
   sort_offset=1
   layer0
  {
   map=windows.tga
   blendfunc=blend
   mipmap=0
   depthwrite=0
  }
  layer1
  {
   map=$trackenvmap
   texgen_s=reflection_map
   texgen_t=reflection_map
   texgen_r=reflection_map
   blendfunc=src_color one
   depthwrite=0
   shininess=30
   specular=0.55 0.55 0.55
  }
}

shader_glass_t
{
  sort_offset=1
  layer0
  {
   map=glass_t.tga
   blendfunc=blend
   mipmap=0
   depthwrite=0
  }
  layer1
  {
   map=$trackenvmap
   texgen_s=reflection_map
   texgen_t=reflection_map
   texgen_r=reflection_map
   blendfunc=src_color one
   depthwrite=0
   shininess=15
   specular=0.3 0.3 0.3 1
  }
}

shader_tx_w221_06
{
  sort_offset=1
  layer0
  {
   map=tx_w221_06.tga
   blendfunc=blend
   mipmap=0
   depthwrite=0
  }
  layer1
  {
   map=$trackenvmap
   texgen_s=reflection_map
   texgen_t=reflection_map
   texgen_r=reflection_map
   blendfunc=src_color one
   depthwrite=0
   shininess=8
   specular=0.1 0.1 0.12 1
  }
}

shader_window_front
{
  sort_offset=1
  layer0
  {
   map=window_front.tga
   blendfunc=blend
   mipmap=0
   depthwrite=0
  }
  layer1
  {
   map=$trackenvmap
   texgen_s=reflection_map
   texgen_t=reflection_map
   texgen_r=reflection_map
   blendfunc=src_color one
   depthwrite=0
   shininess=15
   specular=0.2 0.2 0.2 1
  }
}

shader_black_wing
{
  sort_offset=1
  layer0
  {
   map=black_wing.tga
   blendfunc=blend
   mipmap=0
   depthwrite=0
  }
  layer1
  {
   map=$trackenvmap
   texgen_s=reflection_map
   texgen_t=reflection_map
   texgen_r=reflection_map
   blendfunc=src_color one
   depthwrite=0
   shininess=15
   specular=0.3 0.3 0.3 1
  }
}

;tire&wheel-------------------------------------------------------------------------

shader_bridgestonepro128
{
  layer0
  {
    map=bridgestonepro128.tga
  }
}

shader_tirea0
{
  layer0
  {
    map=tirea0.tga
  }
}

shader_tx_w221_03
{
  layer0
  {
    map=tx_w221_03.tga
  }
}

shader_wheel_lod0
{
  layer0
 {
 map=wheel_lod0.tga
 shininess=45
 specular=0.8 0.8 0.8
 mipmap=0
  }
}

shader_symbolmetal
{
  layer0
  {
    map=$trackenvmap
    texgen_s=reflection_map
    texgen_t=reflection_map
    texgen_r=reflection_map
      shininess=32
      specular=1 1 1 1
  }
  layer1
  {
    map=chrome.tga
    blendfunc=one src_alpha
    shininess=32
    specular=0.36 0.35 0.34
  }
}

shader_wheelbody
{
	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=0.65 0.65 0.65
		shininess=48
		specular=0.4 0.4 0.4
		blendfunc=filter
	}
	layer2
	{
		map=wheelbody.tga
		blendfunc=one src_alpha
                        shininess=48
                        specular=0.4 0.4 0.4
	}
}

shader_MBtire0
{
  layer0
  {
    map=MBtire0.tga
    mipmap=0
  }
}

shader_MBtire1
{
  layer0
  {
    map=MBtire1.tga
    mipmap=0
  }
}

shader_baer
{
  layer0
  {
   map=baer.tga
   shininess=42
   specular=0.8 0.8 0.8
   mipmap=0
  }
}

shader_baer1
{
  layer0
  {
    map=baer1.tga
   shininess=42
   specular=0.8 0.8 0.8
   mipmap=0
  }
}


;brake&lights-----------------------------------------------------------------------

shader_brake
{
   sort_offset=1
   layer0
  {
    map=brake.tga
    blendfunc=add
    texenv=replace
    emission=.2 .2 .2 1
  }
}

shader_rearon
{
  sort_offset=1
  layer0
    {
       map=lights0.tga
       blendfunc=add
       texenv=replace
       emission=3 3 3 1
    }
}

shader_fogon
{
  sort_offset=1
  layer0
  {
   map=vehiclelightson128.tga
   blendfunc=add
   texenv=replace
   mipmap=0
   depthwrite=0
  }
  layer1
  {
   map=$trackenvmap
   texgen_s=reflection_map
   texgen_t=reflection_map
   texgen_r=reflection_map
   blendfunc=src_color one
   depthwrite=0
   shininess=15
   specular=0.3 0.3 0.3 1
  }
}

shader_lights0
{
  sort_offset=1
  layer0
    {
       map=lights0.tga
       blendfunc=add
       texenv=replace
       emission=4 4 4 1
    }
}

shader_lights1
{
  sort_offset=1
  layer0
    {
       map=lights1.tga
       blendfunc=add
       texenv=replace
       emission=4 4 4 1
    }
}

shader_lights2
{
  sort_offset=1
  layer0
    {
       map=lights2.tga
       blendfunc=add
       texenv=replace
       emission=4 4 4 1
    }
}

shader_e63_interior_on
{
  sort_offset=1
  layer0
    {
       map=e63_interior_on.tga
       blendfunc=blend
       texenv=replace
       emission=1 1 1 1
    }
}

shader_e63_lights_on
{
  sort_offset=1
  layer0
    {
       map=e63_lights_on.tga
       blendfunc=add
       texenv=replace
       emission=1 1 1 1
    }
}


shader_int0100_on
{
  sort_offset=1
  layer0
    {
       map=int0100_on.tga
       blendfunc=add
       texenv=replace
       emission=1 1 1 1
    }
}
shader_vehiclelights128_on
{
  layer0
  {
    map=vehiclelights128_on.tga
       blendfunc=add
       texenv=replace
       emission=4 4 4 1
  }
}

