;====================================
;Mercedes SL65 Shader
;====================================
;
;====================================
shader_slr_remap
{
	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=slr_remap.tga
		blendfunc=one src_alpha
	}
}
shader_aluminio
{
	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=aluminio.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_
{
  sort_offset=1
  layer0
  {
   map=
   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_w220
{
  sort_offset=1
  layer0
  {
   map=w220.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_Winscreen
{
  sort_offset=1
  layer0
  {
    map=Windows.tga

    blendfunc=blend
    shininess=0
    specular=0 0 0
    ambient=0 0 0
    diffuse=0 0 0
    emission=0 0 0 0
  }
}
shader_Windows
{
  layer0
  {
    ;depthwrite=0
    map=Windows.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_metal
{
  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=25
  specular=0.76 0.75 0.74
  }
}
shader_shift2u_misc
{
	layer0
	{
		map=shift2u_misc.tga
	}
}
shader_wheel_lod0
{
	layer0
	{
		map=wheel_lod0.tga
	}
}
shader_tyrewall_dirt_1
{
	layer0
	{
		map=tyrewall_dirt_1.tga
	}
}
shader_freio
{
	layer0
	{
		map=freio.tga
	}
}
shader_nodamage_lod0
{
	layer0
	{
		map=nodamage_lod0.tga
	}
}
shader_undercarriage
{
	layer0
	{
		map=undercarriage.tga
	}
}
shader_black
{
	layer0
	{
		map=black.tga
	}
}
shader_bumper_frame
{
	layer0
	{
		map=bumper_frame.tga
	}
}
shader_interior_lod0
{
	layer0
	{
		map=interior_lod0.tga
	}
}
shader_grill
{
	layer0
	{
		map=grill.tga
	}
}
shader_carbonfiber
{
	layer0
	{
		map=carbonfiber.tga
	}
}
shader_vehiclelights
{
	layer0
	{
		map=vehiclelights.tga
	}
}
shader_interior_lod0_alpha
{
	layer0
	{
		map=interior_lod0_alpha.tga
	}
}
shader_screen
{
	layer0
	{
		map=screen.tga
	}
}
shader_lights_lod0
{
	layer0
	{
		map=lights_lod0.tga
	}
}
shader_sl65_engine
{
	layer0
	{
		map=sl65_engine.tga
	}
}
shader_underbonnet
{
	layer0
	{
		map=underbonnet.tga
	}
}
shader_scratch
{
	layer0
	{
		map=scratch.tga
	}
}
shader_vehiclelights_dam
{
	layer0
	{
		map=vehiclelights_dam.tga
	}
}
shader_glassdam_1
{
	layer0
	{
		map=glassdam_1.tga
	}
}
shader_salon
{
	layer0
	{
		map=salon.tga
	}
}
shader_brakes
{
  	layer0
  	{
    		map=brakes.tga
    		blendfunc=blend
    		emission=5 5 5 4.5
  	}
}
shader_Mirror
{
  layer0
    {
       map=$mirror
       texscale_s=1
       texscale_r=1
       texscale_t=1
       emission=0.3 0.3 0.3 1
    }
}
shader_lights
{
  	layer0
  	{
    		map=lights.tga
    		blendfunc=blend
    		emission=1 1 1 1
  	}
}
shader_sid
{
  	layer0
  	{
    		map=sid.tga
    		blendfunc=blend
    		emission=1 1 1 1
  	}
}
shader_disk1_color
{
	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=disk1_color.tga
		blendfunc=one src_alpha
                mipmap=1
	}
}
shader_w220_wheel_profile
{
 layer0
 {
  map=w220_wheel_profile.tga
 }
}
shader_124_bremze
{
 layer0
 {
  map=124_bremze.tga
 }
}
shader_oz_leggera
{
 layer0
 {
  map=oz_leggera.tga
 }
}
shader_black
{
  layer0
  {
    map=black.tga
  }
}
shader_decal_amg
{
  layer0
  {
    map=decal_rivet.tga
  }
}
shader_decal_brake
{
  layer0
  {
    map=decal_brake.tga
  }
}
shader_decal_rivet
{
  layer0
  {
    map=decal_rivet.tga
  }
}
shader_interior_lod0
{
  layer0
  {
    map=interior_lod0.tga
  }
}
shader_interior
{
  layer0
  {
    map=interior.tga
  }
}
shader_carbonfiber
{
  layer0
  {
    map=carbonfiber.tga
  }
}
shader_nodamage
{
  layer0
  {
    map=nodamage.tga
  }
}
shader_undercarriage
{
  layer0
  {
    map=undercarriage.tga
  }
}
shader_slr_engine
{
  layer0
  {
    map=slr_engine.tga
  }
}
shader_slr_grille
{
  layer0
  {
    map=slr_grille.tga
  }
}
shader_lic_uk_f
{
  layer0
  {
    map=lic_uk_f.tga
  }
}
shader_lic_uk
{
  layer0
  {
    map=lic_uk.tga
  }
}
shader_lights
{
  layer0
  {
    map=lights.tga
  }
}
shader_lights_2
{
  layer0
  {
    map=lights_2.tga
  }
}
shader_vehiclelights128
{
  layer0
  {
    map=vehiclelights128.tga
  }
}
shader_plastic
{
  layer0
  {
    map=plastic.tga
  }
}
shader_grey
{
  layer0
  {
    map=grey.tga
  }
}
shader_thread
{
  layer0
  {
    map=thread.tga
  }
}
shader_sidewall
{
  layer0
  {
    map=sidewall.tga
  }
}
shader_discbrake
{
  layer0
  {
    map=discbrake.tga
  }
}
shader_grey1
{
  layer0
  {
    map=grey1.tga
  }
}
shader_wheel
{
  layer0
  {
    map=wheel.tga
  }
}
shader_grey_side_mclaren
{
  layer0
  {
    map=grey_side_mclaren.tga
  }
}
shader_decal_emblem
{
  layer0
  {
    map=decal_emblem.tga
  }
}
shader_decal_interior
{
  layer0
  {
    map=decal_interior.tga
  }
}
shader_decal_stitch
{
  layer0
  {
    map=decal_stitch.tga
  }
}
shader_nodamage_lod0
{
  layer0
  {
    map=nodamage_lod0.tga
  }
}
shader_carbonfiber
{
  layer0
  {
    map=carbonfiber.tga
  }
}
shader_vehiclelights128
{
  layer0
  {
    map=vehiclelights128.tga
  }
}
shader_beam
{
  	layer0
  	{
    		map=beam.tga
    		blendfunc=blend
    		emission=2.5 2.5 2.5 2
  	}
}
shader_interior_lod0_on
{
  sort_offset=1
  layer0
    {
       map=interior_lod0_on.tga
       blendfunc=add
       texenv=replace
       emission=1 1 1 1
    }
}
shader_interior_lod0_alpha_on
{
  sort_offset=1
  layer0
    {
       map=interior_lod0_alpha_on.tga
       blendfunc=add
       texenv=replace
       emission=1 1 1 1
    }
}
shader_lights_lod0_on
{
  sort_offset=1
  layer0
    {
       map=lights_lod0_on.tga
       blendfunc=add
       texenv=replace
       emission=1 1 1 1
    }
}
shader_vehiclelights_on
{
  sort_offset=1
  layer0
    {
       map=vehiclelights_on.tga
       blendfunc=add
       texenv=replace
       emission=1 1 1 1
    }
}
shader_screen_on
{
  sort_offset=1
  layer0
    {
       map=screen_on.tga
       blendfunc=add
       texenv=replace
       emission=1 1 1 1
    }
}
