shader_remap
{
  layer0
  {
    map=fresnel.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
  }
  layer2
  {
    map=remap.tga
    blendfunc=one src_alpha
  }
}
shader_nodamage
{
  layer0  
  {    
    map=nodamage.tga
    ;blendfunc=blend
    shininess=12
    specular=.5 .5 .5
    emission=.5 .5 .5
    depthfunc=0
  }
}
shader_black1
{
  layer0  
  {    
    map=black1.tga
    ;blendfunc=blend
    shininess=12
    specular=.5 .5 .5
    emission=.5 .5 .5
    depthfunc=0
  }
}
shader_plastic_black
{
  layer0  
  {    
    map=plastic_black.tga
    ;blendfunc=blend
    shininess=12
    specular=.5 .5 .5
    emission=.5 .5 .5
    depthfunc=0
  }
}
shader_lights
{
  layer0  
  {    
    map=lights.tga
    ;blendfunc=blend
    shininess=12
    specular=.5 .5 .5
    emission=.5 .5 .5
    depthfunc=0
  }
}
shader_str_susp
{
  layer0  
  {    
    map=str_susp.tga
    ;blendfunc=blend
    shininess=12
    specular=.5 .5 .5
    emission=.5 .5 .5
    depthfunc=0
  }
}
shader_str_main
{
  layer0  
  {    
    map=str_main.tga
    ;blendfunc=blend
    shininess=12
    specular=.5 .5 .5
    emission=.5 .5 .5
    depthfunc=0
  }
}
shader_interior_lod02
{
  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
    emission=1. 1. 1. 1.
    blendfunc=filter
  }
  layer2  
  {    
    map=interior_lod02.tga
    blendfunc=dst_alpha src_alpha
    ;emission=6. 6. 6. 1.
    mipmap=0
  }
}
shader_dinostwheel
{
  layer0
  {
    map=$trackenvmap
    map=$tracksunmap
    texgen_s=reflection_map
    texgen_t=reflection_map
    texgen_r=reflection_map
    blendfunc=zero zero
  }
  layer1
  {
    map=dinointerior.tga
    blendfunc=add
  }
  layer2  
  {    
    ; this layer means that alpha controls gloss.
    map=dinointerior.tga
    blendfunc=src_alpha one_minus_src_alpha  
  }
}
shader_wheel_lod0
{
  layer0  
  {     
    map=wheel_lod0.tga
    ;blendfunc=blend
    shininess=12
    specular=.5 .5 .5
    emission=.5 .5 .5
    depthfunc=0
  }
}
shader_str_wheel_tm
{
  layer0  
  {    
    map=str_wheel_tm.tga
    ;blendfunc=blend
    shininess=12
    specular=.5 .5 .5
    emission=.5 .5 .5
    depthfunc=0
  }
}
shader_tyre2
{
  layer0  
  {    
    map=tyre2.tga
    ;blendfunc=blend
    shininess=12
    specular=.5 .5 .5
    emission=.5 .5 .5
    depthfunc=0
  }
}
shader_tormoz
{
  layer0  
  {    
    map=tormoz.tga
    ;blendfunc=blend
    shininess=12
    specular=.5 .5 .5
    emission=.5 .5 .5
    depthfunc=0
  }
}
shader_mirror
{
	layer0
	{
		map=$mirror
		texscale_s=1
		texscale_r=1
		texscale_t=1
	}
}
shader_glass
{
  layer0
  {
    map=glass.tga
    blendfunc=blend
    shininess=128
    specular=0.1 0.1 0.1 1
    depthwrite=1
  }
  layer1
  {
    map=$trackenvmap
    texgen_s=reflection_map
    texgen_t=reflection_map
    texgen_r=reflection_map
    blendfunc=add
  }
}
shader_lights
{
  layer0
  {
    map=lights.tga
    blendfunc=blend
    shininess=128
    specular=0.1 0.1 0.1 1
    depthwrite=1
  }
  layer1
  {
    map=$trackenvmap
    texgen_s=reflection_map
    texgen_t=reflection_map
    texgen_r=reflection_map
    blendfunc=add
  }
}
shader_stk
{
  layer0
  {
    map=stk.tga
    blendfunc=blend
    shininess=128
    specular=0.1 0.1 0.1 1
    depthwrite=1
  }
  layer1
  {
    map=$trackenvmap
    texgen_s=reflection_map
    texgen_t=reflection_map
    texgen_r=reflection_map
    blendfunc=add
  }
}
shader_vehiclelights128
{
  layer0
  {
    map=vehiclelights128.tga
    blendfunc=blend
    shininess=128
    specular=0.1 0.1 0.1 1
    depthwrite=1
  }
  layer1
  {
    map=$trackenvmap
    texgen_s=reflection_map
    texgen_t=reflection_map
    texgen_r=reflection_map
    blendfunc=add
  }
}