shader_bodymap3x
{
	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=24
		specular=0.75 0.75 0.75
		blendfunc=filter
	}
	layer2
	{
		map=bodymap3.tga
		blendfunc=one src_alpha
	}
}

shader_black
{
	layer0
	{
		map=black.tga
	}
}
shader_bodymap3
{
	layer0
	{
		map=bodymap3.tga
	}
}
shader_bodymapb
{
	layer0
	{
		map=bodymapb.tga
	}
}
shader_mtlprts
{
	layer0
	{
		map=mtlprts.tga
	}
}
shader_lights
{
	layer0
	{
		map=lights.tga
	}
}
shader_int_noclr
{
	layer0
	{
		map=int_noclr.tga
	}
}
shader_int_clr
{
	layer0
	{
		map=int_clr.tga
	}
}

shader_grille
{
	layer0
	{
		map=grille.tga
	}
}
shader_plate
{
	layer0
	{
		map=plate.tga
	}
}

shader_extras
{
	layer0
	{
		map=extras.tga
	}
}
shader_extras2
{
	layer0
	{
		map=extras2.tga
	}
}
shader_extras3
{
	layer0
	{
		map=extras3.tga
	}
}
shader_extras4
{
	layer0
	{
		map=extras4.tga
	}
}
shader_mirror
{
  layer0
    {
       map=$mirror
       texscale_s=1
       texscale_r=1
       texscale_t=1
       emission=0.3 0.3 0.3 1
    }
}

shader_glassdirtx
{
	cull=back
	layer0
	{
		map=glassdirt.tga
		shininess=30
		specular=0.90,0.90,0.90
		diffuse=0.95,0.95,0.95
		ambient=0.13,0.13,0.13
		emission=0.13,0.13,0.13
		depthwrite=0 
		blendfunc=blend
	}
	layer1
	{
		map=$trackenvmap
		texgen_s=reflection_map
		texgen_t=reflection_map
		texgen_r=reflection_map
		blendfunc=src_color one_minus_src_color
	}
}
shader_roof
{
	layer0
	{
		map=roof.tga
	}
}


shader_rim
{
cull=none
layer0
{
		map=$trackenvmap
		texgen_s=reflection_map
		texgen_t=reflection_map
		texgen_r=reflection_map
		;blendfunc=blend
            ;blend
            ;filter
		;shininess=24
		;specular=0.75 0.75 0.75
          	}
	layer1
	{
		map=wheel.tga
		blendfunc=src_alpha one_minus_src_alpha
                                  ;one src_alpha
}
}
shader_vlo-map
{
layer0
{
map=vlo-map.tga
}
}
shader_white
{
layer0
{
map=white.tga
}
}
}

;====================================
;Brakelights and Headlights
;====================================
shader_lights_brake
{
  	layer0
  	{
    		map=lights_brake.tga
    		blendfunc=blend
    		emission=2.5 2.5 2.5 2
  	}
}
shader_headlights
{
  layer0
    {
      map=headlights.tga
      emission=1 1 1 1
      shininess=4
      specular=0 0 0 1
      blendfunc=blend
      texenv=replace
    }
}

shader_lights_on
{
  	layer0
  	{
    		map=lights_on.tga
    		blendfunc=blend
    		emission=2.5 2.5 2.5 2
  	}
}
shader_lights1
{
  	layer0
  	{
    		map=lights1.tga
    		blendfunc=blend
    		emission=2.5 2.5 2.5 2
  	}
}

shader_reflect
{
  layer0
  {
    map=$mirror
    emission=0.8 0.8 0.8
  }
  layer1
  {
    map=mirror.tga
    blendfunc=src_color one_minus_src_alpha
  }
}
shader_underb
{
	layer0
	{
		map=underb.tga
	}
}
shader_tirecovr3
{
	layer0
	{
		map=tirecovr3.tga
	}
}
shader_patio
{
	layer0
	{
		map=patio.tga
	}
}