shader_bodycolor
{
	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=bodycolor.tga
		blendfunc=one src_alpha
	}
}
shader_body1
{
	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=body1.tga
		blendfunc=one src_alpha
	}
}



;---------------------------------------------------------------------------------

shader_misc
{
  layer0
  {
    map=misc.tga
  }
}
shader_cinza1
{
  layer0
  {
    map=cinza1.tga
  }
}
shader_cinza2
{
  layer0
  {
    map=cinza2.tga
  }
}
shader_lanternas
{
  layer0
  {
    map=lanternas.tga
  }
}
shader_underbody
{
  layer0
  {
    map=underbody.tga
  }
}
shader_plate
{
  layer0
  {
    map=plate.tga
  }
}
shader_tire
{
  layer0
  {
    map=tire.tga
  }
}
shader_tire1
{
  layer0
  {
    map=tire1.tga
  }
}
shader_customstyres512
{
  layer0
  {
    map=customstyres512.tga
  }
}
shader_tire
{
  layer0
  {
    map=tire.tga
  }
}
shader_inwardly
{
  layer0
  {
    map=inwardly.tga
  }
}
shader_dash1
{
  layer0
  {
    map=dash1.tga
  }
}
shader_leather1
{
  layer0
  {
    map=leather1.tga
  }
}
shader_dash
{
  layer0
  {
    map=dash.tga
  }
}
shader_sorina
{
  layer0
  {
    map=sorina.tga
  }
}
shader_kid
{
  layer0
  {
    map=kid.tga
  }
}
shader_kid2
{
  layer0
  {
    map=kid2.tga
  }
}
shader_carpet
{
  layer0
  {
    map=carpet.tga
  }
}
shader_seats
{
  layer0
  {
    map=seats.tga
  }
}
shader_torpeda
{
  layer0
  {
    map=torpeda.tga
  }
}
shader_cinza
{
  layer0
  {
    map=cinza.tga
  }
}
shader_stw
{
  layer0
  {
    map=stw.tga
  }
}


shader_metal
{
  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_maledriver
{
  layer0
  {
    map=maledriver.tga
  }
}

;---------------------------------------------------------------------------------

;---------------------------------------------------------------------------------


shader_vidros
{
  layer0
  {
    ;depthwrite=0
    map=vidros.tga
    blendfunc=blend
  }
  layer1
  {
    ;depthwrite=0
    texenv=replace
    map=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_vidros2
{
  layer0
  {
    ;depthwrite=0
    map=vidros2.tga
    blendfunc=blend
  }
  layer1
  {
    ;depthwrite=0
    texenv=replace
    map=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_cinzaclaro
{
	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=cinzaclaro.tga
		blendfunc=one src_alpha
                mipmap=1
	}
}
shader_fordlogo
{
	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=fordlogo.tga
		blendfunc=one src_alpha
                mipmap=1
	}
}
shader_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
		blendfunc=filter
		shininess=24
		specular=0.75 0.75 0.75
                mipmap=1
	}
	layer2
	{
		map=wheel.tga
		blendfunc=one src_alpha
                mipmap=1
	}
}
shader_wheel2
{
	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=wheel2.tga
		blendfunc=one src_alpha
                mipmap=1
	}
}



;---------------------------------------------------------------------------------

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

;---------------------------------------------------------------------------------

shader_Lights
{
  sort_offset=1
  layer0
    {
       map=Lights.tga
       blendfunc=add
       texenv=replace
       emission=1 1 1 1
    }
}
shader_Lights1
{
  sort_offset=1
  layer0
    {
       map=Lights1.tga
       blendfunc=add
       texenv=replace
       emission=1 1 1 1
    }
}
shader_Lights2
{
  sort_offset=1
  layer0
    {
       map=Lights2.tga
       blendfunc=add
       texenv=replace
       emission=1 1 1 1
    }
}
shader_Lights3
{
  sort_offset=1
  layer0
    {
       map=Lights3.tga
       blendfunc=add
       texenv=replace
       emission=1 1 1 1
    }
}
shader_Lights4
{
  sort_offset=1
  layer0
    {
       map=Lights4.tga
       blendfunc=add
       texenv=replace
       emission=1 1 1 1
    }
}
shader_Lights5
{
  sort_offset=1
  layer0
    {
       map=Lights5.tga
       blendfunc=add
       texenv=replace
       emission=1 1 1 1
    }
}
shader_tela
{
  	layer0
  	{
    		map=tela.tga
    		blendfunc=blend
    		emission=1 1 1 1
  	}
}
shader_gps
{
  	layer0
  	{
    		map=gps.tga
    		blendfunc=blend
    		emission=1 1 1 1
  	}
}
shader_dash2
{
  	layer0
  	{
    		map=dash2.tga
    		blendfunc=blend
    		emission=1 1 1 1
  	}
}


;---------------------------------------------------------------------------------

shader_Brakes
{
  sort_offset=1
  layer0
    {
       map=Brakes.tga
       blendfunc=add
       texenv=replace
       emission=1 1 1 1
    }
}
}

