shader_cinza1
{
	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=cinza1.tga
		blendfunc=one src_alpha
	}
}
shader_rodatex
{
	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=rodatex.tga
		blendfunc=one src_alpha
	}
}
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_baer
{
	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=baer.tga
		blendfunc=one src_alpha
                mipmap=1
	}
}
shader_baer1
{
	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=baer1.tga
		blendfunc=one src_alpha
                mipmap=1
	}
}


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

shader_light
{
  layer0
  {
    map=light.tga
  }
}
shader_body
{
  layer0
  {
    map=body.tga
  }
}
shader_interior
{
  layer0
  {
    map=interior.tga
  }
}
shader_steer
{
  layer0
  {
    map=steer.tga
  }
}
shader_cinza3
{
  layer0
  {
    map=$tracksunmap
    texgen_s=reflection_map
    texgen_t=reflection_map
    texgen_r=reflection_map
  }
  layer1
  {
    map=cinza2.tga
    ;depthwrite=1
    mipmap=0
    shininess=128
    emission=0.1 0.1 0.1 0.1
    ;specular=0.1 0.1 0.1 1.0
    ;blendfunc=one zero
	blendfunc=one src_alpha
  }
}
shader_volan
{
  layer0
  {
    map=volan.tga
  }
}
shader_stop
{
  layer0
  {
    map=stop.tga
  }
}
shader_brake
{
  layer0
  {
    map=brake.tga
  }
}
shader_contisc2
{
  layer0
  {
    map=contisc2.tga
  }
}
shader_conti
{
  layer0
  {
    map=conti.tga
  }
}
shader_adesivo
{
	layer0
	{
		map=adesivo.tga
		blendfunc=blend
    		depthwrite=0
	}
}
shader_cinza2
{
  layer0
  {
    map=cinza2.tga
  }
}
shader_steer
{
  layer0
  {
    map=steer.tga
  }
}
shader_plate
{
  layer0
  {
    map=plate.tga
  }
}
shader_lanternas
{
  layer0
  {
    map=lanternas.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_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_Windback
{
  layer0
  {
    ;depthwrite=0
    map=Windback.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_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_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_Lights6
{
  sort_offset=1
  layer0
    {
       map=Lights6.tga
       blendfunc=add
       texenv=replace
       emission=1 1 1 1
    }
}
shader_Lights8
{
  sort_offset=1
  layer0
    {
       map=Lights8.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
    }
}
