;====================================
;Palio Shader
;====================================
;
;====================================
shader_palio1
{
	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=palio1.tga
		blendfunc=one src_alpha
	}
}
shader_palio3
{
	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=palio3.tga
		blendfunc=one src_alpha
	}
}
shader_fiatlogo
{
	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=fiatlogo.tga
		blendfunc=one src_alpha
	}
}
shader_fiatlogo1
{
	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=fiatlogo1.tga
		blendfunc=one src_alpha
	}
}
shader_muffler
{
	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=muffler.tga
		blendfunc=one src_alpha
                mipmap=1
	}
}
shader_roda
{
	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=roda.tga
		blendfunc=one src_alpha
                mipmap=1
	}
}
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_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_bump2
{
	layer0
	{
		map=bump2.tga
	}
}
shader_radiador
{
	layer0
	{
		map=radiador.tga
	}
}
shader_continental
{
	layer0
	{
		map=continental.tga
	}
}
shader_tire1
{
	layer0
	{
		map=tire1.tga
	}
}
shader_brake_pad
{
	layer0
	{
		map=brake_pad.tga
	}
}
shader_steer
{
	layer0
	{
		map=steer.tga
	}
}
shader_cinza2
{
	layer0
	{
		map=cinza2.tga
	}
}
shader_rodaautobahn
{
	layer0
	{
		map=rodaautobahn.tga
	}
}
shader_motor
{
	layer0
	{
		map=motor.tga
	}
}
shader_plate
{
	layer0
	{
		map=plate.tga
	}
}
shader_lanternas
{
	layer0
	{
		map=lanternas.tga
	}
}
shader_logos
{
	layer0
	{
		map=logos.tga
		blendfunc=blend
    		depthwrite=0
	}
}
shader_cinza
{
  layer0
  {
    map=cinza.tga
  }
}
shader_maledriver
{
  layer0
  {
    map=maledriver.tga
  }
}
shader_in2
{
  layer0
  {
    map=in2.tga
  }
}
shader_cinza1
{
  layer0
  {
    map=cinza1.tga
  }
}
shader_interior
{
	layer0
	{
		map=interior.tga
	}
}
shader_bump
{
	layer0
	{
		map=bump.tga
	}
}
shader_under
{
	layer0
	{
		map=under.tga
	}
}

shader_doorfront
{
	layer0
	{
		map=doorfront.tga
	}
}
shader_doorback
{
	layer0
	{
		map=doorback.tga
	}
}
shader_taza
{
	layer0
	{
		map=taza.tga
	}
}
shader_palio2
{
	layer0
	{
		map=palio2.tga
	}
}
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=10
  specular=0.76 0.75 0.74
  }
}
shader_lights
{
  sort_offset=1
  layer0
  {
   map=lights.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=55
   specular=0.55 0.55 0.55
  }
}
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=55
   specular=0.55 0.55 0.55
  }
}
shader_glass
{
  sort_offset=1
  layer0
  {
   map=glass.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=55
   specular=0.55 0.55 0.55
  }
}
shader_luzes
{
	layer0
	{
		map=luzes.tga
	}

}
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=55
   specular=0.55 0.55 0.55
  }
}
shader_cinza2
{
  layer0
  {
    map=cinza2.tga
  }
}
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_Brakes
{
  sort_offset=1
  layer0
    {
       map=Brakes.tga
       blendfunc=add
       texenv=replace
       emission=1 1 1 1
    }
}



