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

shader_Primary
{
  	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=25
		specular=0.75 0.75 0.75 0.75
  	}
	 layer2
  	{
   		map=Primary.tga
    		blendfunc=one src_alpha
  	}
}

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

shader_Shiny_Transparent
{
  sort_offset=1
  layer0
  {
   map=Transparent.tga
   blendfunc=src_alpha one_minus_src_alpha
   mipmap=0
   depthwrite=0
  }
  layer1 
  {
    depthwrite=0
    texenv=replace
    map=Fresnel2.tga
    texgen_s=sphere_map
    texgen_t=sphere_map
    blendfunc=one dst_alpha
    emission=1 1 1 1
  }
  layer2
  {
   map=$trackenvmap
   texgen_s=reflection_map
   texgen_t=reflection_map
   texgen_r=reflection_map
   blendfunc=src_color one_minus_src_color
   depthwrite=0
   shininess=55
   specular=0.55 0.55 0.55 1
  }
}

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

shader_Texture
{
  layer0
  {
   map=$trackenvmap
   texgen_s=reflection_map
   texgen_t=reflection_map
   texgen_r=reflection_map
  }
  layer1
  {
    map=Texture.tga
  }
}

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

shader_Banan
{
  layer0
  {
    map=Transparent.tga
    blendfunc=blend
  }
}

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

shader_Shiny_Texture
{
  layer0
  {
    map=$trackenvmap
    texgen_s=reflection_map
    texgen_t=reflection_map
    texgen_r=reflection_map
    blendfunc=one zero
  }
  layer1
  {
    map=Texture.tga
    blendfunc=one zero
    shininess=20
    specular=0.25 0.25 0.25
  }
}

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

shader_Chrome
{
  layer0
  {
   map=$trackenvmap
   texgen_s=reflection_map
   texgen_t=reflection_map
   texgen_r=reflection_map
  }
  layer1
  {
    map=Texture.tga
    blendfunc=one src_alpha
  }
}

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

shader_Lights
{
  sort_offset=1
  layer0
    {
       map=Lights.tga
       blendfunc=add
       texenv=replace
       emission=1 1 1 1
    }
}

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

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

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


shader_Opona1
{
   layer0
  {
    map=Texture.tga
    shininess=10
    specular=0.2 0.2 0.2 1
  }
}

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

shader_Opona2
{
   layer0
  {
    map=Wheel2.tga
    shininess=10
    specular=0.2 0.2 0.2 1
  }
}

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

shader_Opona3
{
   layer0
  {
    map=Wheel3.tga
    shininess=10
    specular=0.2 0.2 0.2 1
  }
}

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

shader_Rim2
{
  layer0
  {
   map=$trackenvmap
   texgen_s=reflection_map
   texgen_t=reflection_map
   texgen_r=reflection_map
  }
  layer1
  {
    map=Wheel2.tga
  }
}

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

shader_Rim3
{
  layer0
  {
   map=$trackenvmap
   texgen_s=reflection_map
   texgen_t=reflection_map
   texgen_r=reflection_map
  }
  layer1
  {
    map=Wheel3.tga
  }
}

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

shader_Male
{
  layer0
  {
   map=$trackenvmap
   texgen_s=reflection_map
   texgen_t=reflection_map
   texgen_r=reflection_map
  }
  layer1
  {
    map=Male.tga
  }
}

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

shader_Winscreen
{
  layer0
  {
    map=Transparent.tga
    blendfunc=blend
  }
}

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

shader_Beam
{
  cull=none
  layer0
  {
    blendfunc=one_minus_src_alpha src_alpha
    map=Beam.tga
    emission=2 2 2 1
    specular=0 0 0 1
    mipmap=0
    texenv=replace
  }
}

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