shader_body
{
	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=10
		specular=0.75 0.75 0.75
		blendfunc=filter
	}
	layer2
	{
		map=body.tga
		blendfunc=one src_alpha
	}
}

shader_bodye
{
	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=10
		specular=0.75 0.75 0.75
		blendfunc=filter
	}
	layer2
	{
		map=bodye.tga
		blendfunc=one src_alpha
	}
}

shader_sg_chrome_nr0
{
	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=10
		specular=0.75 0.75 0.75
		blendfunc=filter
	}
	layer2
	{
		map=bodye.tga
		blendfunc=one src_alpha
	}
}

shader_w123_colors
{
	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=10
		specular=0.75 0.75 0.75
		blendfunc=filter
	}
	layer2
	{
		map=bodye.tga
		blendfunc=one src_alpha
	}
}

shader_car00
{
	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=10
		specular=0.75 0.75 0.75
		blendfunc=filter
	}
	layer2
	{
		map=car00.tga
		blendfunc=one src_alpha
	}
}


shader_remapelegybody128
{
	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=10
		specular=0.75 0.75 0.75
		blendfunc=filter
	}
	layer2
	{
		map=remapelegybody128.tga
		blendfunc=one src_alpha
	}
}

shader_wood
{
	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=10
		specular=0.75 0.75 0.75
		blendfunc=filter
	}
	layer2
	{
		map=wood.tga
		blendfunc=one src_alpha
	}
}

;_______________________________________

shader_chrome
{
  layer0
  {
    map=$trackenvmap
    texgen_s=reflection_map
    texgen_t=reflection_map
    texgen_r=reflection_map
    shininess=42
    specular=1 1 1 1
  }
  layer1
  {
    map=chrome.tga
    blendfunc=one src_alpha
    shininess=35
    specular=0.76 0.75 0.74
  }
}

shader_sg_langai
{
   sort_offset=1
   layer0
  {
   map=sg_langai.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=6
   specular=0.55 0.55 0.55
  }
}


shader_windscreen
{
 layer0
 {
  map=glass.tga
  depthwrite=0 
  shininess=128
  blendfunc=src_color one_minus_src_alpha 
  mipmap=0
 }
 layer1
 {
  map=$trackenvmap
  depthwrite=0 
  texgen_s=reflection_map
  texgen_t=reflection_map
  texgen_r=reflection_map
  blendfunc=src_alpha one_minus_src_color
 }
 layer2
 {
  map=glass.tga
  shininess=40
  specular=1 1 1
  depthwrite=0 
  blendfunc=src_color one_minus_src_alpha 
  mipmap=0
 }
}

shader_SG_Lempos0
{
 sort_offset=1
 layer0
 {
  map=lights.tga
  depthwrite=0
  shininess=128
  blendfunc=src_color one_minus_src_alpha 
  mipmap=0
 }
 layer1
 {
  map=$trackenvmap
  depthwrite=0
  texgen_s=reflection_map
  texgen_t=reflection_map
  texgen_r=reflection_map
  blendfunc=src_alpha one_minus_src_color
 }
 layer2
 {
  map=SG_Lempos0.tga
  shininess=40
  specular=1 1 1
  depthwrite=0
  blendfunc=src_color one_minus_src_alpha 
  mipmap=0
 }
}

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

;_______________________________________

shader_sg_interior0
{
  layer0
  {
    map=sg_interior0.tga
  }
}

shader_sg_body0
{
  layer0
  {
    map=sg_body0.tga
  }
}

shader_sg_langaia
{
  layer0
  {
    map=sg_langai.tga
  }
}

shader_sg_interior0
{
  layer0
  {
    map=sg_interior0.tga
  }
}

shader_sg_interiora
{
  layer0
  {
    map=sg_interiora.tga
  }
}

shader_vehiclelights
{
  layer0
  {
    map=vehiclelights.tga
  }
}

shader_details
{
  layer0
  {
    map=details.tga
    alphafunc=gequal 16
  }
}

shader_numberplate
{
  layer0
  {
    map=numberplate.tga
  }
}

shader_lights
{
  layer0
  {
    map=lights.tga
  }
}

;_______________________________________

shader_wheel_rim
{
	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
		blendfunc=filter
		shininess=24
		specular=0.75 0.75 0.75
                mipmap=1
	}
	layer2
	{
		map=wheel_rim.tga
		blendfunc=one src_alpha
                mipmap=1
	}
}

shader_wheel_tire
{
	layer0
	{
		map=wheel_tire.tga
	}
}

shader_wheel_disk
{
  	layer0
 	{
    		map=$trackenvmap
   		texgen_s=reflection_map
    		texgen_t=reflection_map
    		texgen_r=reflection_map
      		shininess=42
      		specular=1 1 1 1
  	}
  	layer1
  	{
    		map=wheel_disk.tga
    		blendfunc=one src_alpha
  		shininess=35
  		specular=0.76 0.75 0.74
  	}
}

;_______________________________________

shader_lights_exterior
{
  sort_offset=1
  layer0
  {
    map=lights_exterior.tga
    emission=1 1 1 1
    texenv=replace
  }
}

shader_lights_interior
{
  sort_offset=1
  layer0
  {
    map=lights_interior.tga
    blendfunc=add
    emission=1 1 1 1
    texenv=replace
  }
}

shader_lights_plate
{
  sort_offset=1
  layer0
  {
    map=lights_plate.tga
    blendfunc=add
    emission=1 1 1 1
    texenv=replace
  }
}