-----------------------------SHADERY METALICZNE----------------------------------------
shader_body
{
	layer0
	{
		map=gradient.tga
		texgen_s=sphere_map
		texgen_t=sphere_map
		emission=0. 0. 0. 0.
	}
	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=body.tga
		blendfunc=one src_alpha
	}
}
shader_Szyby_zew
{
  sort_offset=1
  ;cull=back
  layer0
  {
   map=Szyby_zew.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_driver
{
  layer0
  {
    map=driver.tga
      emission=0 0 0 1
      shininess=0
      specular=0 0 0 1
      depthwrite=1
    blendfunc=blend
  }
}
shader_klosz1
{
  layer0
  {
    map=klosz1.tga
      emission=0 0 0 1
      shininess=0
      specular=0 0 0 1
      depthwrite=1
    blendfunc=blend
  }
}
shader_Plastiki
{
  layer0
  {
    map=Plastiki.tga
      emission=0 0 0 1
      shininess=0
      specular=0 0 0 1
      depthwrite=1
    blendfunc=blend
  }
}
shader_felga
{
  layer0
  {
    map=felga.tga
      emission=0 0 0 1
      shininess=0
      specular=0 0 0 1
      depthwrite=1
    blendfunc=blend
  }
}
shader_kloszl
{
 	layer0
  	{
    		map=kloszl.tga
    		emission=1 1 1 1
    		blendfunc=blend
  	}
}
shader_reflektoryR
{
 	layer0
  	{
    		map=reflektoryR.tga
    		emission=1 1 1 1
    		blendfunc=blend
  	}
}
shader_Chrome
{
  	
	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
  	}
}
shader_klosz
{
	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=klosz.tga
		blendfunc=one src_alpha
  	}
}
shader_interior
{
  layer0
  {
    map=interior.tga
      emission=0 0 0 1
      shininess=0
      specular=0 0 0 1
      depthwrite=1
  }
}
shader_kierownica2
{
  layer0
  {
    map=kierownica2.tga
      emission=0 0 0 1
      shininess=0
      specular=0 0 0 1
      depthwrite=1
  }
}
shader_szyby_wew	
{
  layer0
  {
    map=szyby_wew.tga

    blendfunc=blend
      emission=0 0 0 1
      shininess=0
      specular=0 0 0 1
      depthwrite=1
  }
}
shader_Chrome_wew
{
  	
	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_wew.tga
    		blendfunc=one src_alpha
  	}
}

---------------------------------------------MATOWE DETALE------------------------------------
shader_DESKA
{
  layer0
  {
    map=DESKA.tga
      emission=0 0 0 1
      shininess=0
      specular=0 0 0 1
      depthwrite=1
  }
}
shader_plastiki2
{
  layer0
  {
    map=plastiki2.tga
      emission=0 0 0 1
      shininess=0
      specular=0 0 0 1
      depthwrite=1
  }
}
shader_kolo11
{
  layer0
  {
    map=kolo11.tga
      emission=0 0 0 1
      shininess=0
      specular=0 0 0 1
      depthwrite=1
    blendfunc=blend
  }
}
shader_rejestracja
{
  layer0
  {
    map=rejestracja.tga
      emission=0 0 0 1
      shininess=0
      specular=0 0 0 1
      depthwrite=1
  }
}
shader_Matowe
{
  layer0
  {
    map=Matowe.tga
      emission=0 0 0 1
      shininess=0
      specular=0 0 0 1
      depthwrite=1
    blendfunc=blend
  }
}
shader_reflektory
{
  layer0
  {
    map=reflektory.tga
      emission=0 0 0 1
      shininess=0
      specular=0 0 0 1
      depthwrite=1
    blendfunc=blend
  }
}
shader_plastik
{
  layer0
  {
    map=plastik.tga
      emission=0 0 0 1
      shininess=0
      specular=0 0 0 1
      depthwrite=1
    blendfunc=blend
  }
}
shader_migacz
{
  layer0
  {
    map=migacz.tga
      emission=0 0 0 1
      shininess=0
      specular=0 0 0 1
      depthwrite=1
  }
}
shader_emblematy
{
  layer0
  {
    map=emblematy.tga
      emission=0 0 0 1
      shininess=0
      specular=0 0 0 1
      depthwrite=1
    blendfunc=blend
  }
}
shader_Lusterka
{
  layer0
    {
       map=$mirror
       texscale_s=1
       texscale_r=1
       texscale_t=1
       emission=0.3 0.3 0.3 1
    }
}
----------------------------------------------FELGA--------------------------------------------
shader_kolo
{
  layer0
    {
      map=kolo.tga
      emission=0 0 0 1
      shininess=0
      specular=0 0 0 1
      depthwrite=1
    }
}
shader_kierownica
{
  layer0
    {
      map=kierownica.tga
      emission=0 0 0 1
      shininess=0
      specular=0 0 0 1
      depthwrite=1
    }
}
shader_bbs
{
  layer0
    {
      map=bbs.tga
      emission=0 0 0 1
      shininess=0
      specular=0 0 0 1
      depthwrite=1
    }
}
shader_wunderbaum
{
  layer0
    {
      map=wunderbaum.tga
      emission=0 0 0 1
      shininess=0
      specular=0 0 0 1
      depthwrite=1
    }
}
shader_braking
{
  sort_offset=1
  layer0
    {
       map=braking.tga
       blendfunc=add
       texenv=replace
       emission=1 1 1 1
    }
}
shader_lights
{
  sort_offset=1
  layer0
    {
       map=lights.tga
       blendfunc=add
       texenv=replace
       emission=1 1 1 1
    }
}
shader_rejestracjaL
{
  sort_offset=1
  layer0
    {
       map=rejestracjaL.tga
       blendfunc=add
       texenv=replace
       emission=1 1 1 1
    }
}
shader_licznikL
{
  sort_offset=1
  layer0
    {
       map=licznikl.tga
       blendfunc=add
       texenv=replace
       emission=1 1 1 1
}
}
shader_migaczl
{
  sort_offset=1
  layer0
    {
       map=migaczl.tga
       blendfunc=add
       texenv=replace
       emission=1 1 1 1
}
}
shader_chrom	
{
  layer0
    {
      map=chrom.bmp
      emission=0 0 0 1
      shininess=0
      specular=0 0 0 1
      depthwrite=1
    }
}
shader_cam
{
   layer0
  {
    map=cam.tga
  }
}
shader_capafarol
{
  layer0
  {
    map=capafarol.tga

    shininess=0
    specular=0 0 0
    ambient=0 0 0
    diffuse=0 0 0
    emission=0 0 0 0
  }
}
shader_Opony
{
   layer0
  {
    map=Kolpaki_Standard.tga
  }
}
shader_txt1
{
   layer0
  {
    map=txt1.tga
  }
}
shader_dno
{
   layer0
  {
    map=dno.tga
  }
}
shader_luz_estrada
{
  cull=back
 	layer0
  	{
    		map=luz estrada.tga
    		shininess=0
    		specular=0 0 0 1
    		emission=0.1 0.1 0.1 0
    		depthwrite=0
    		blendfunc=src_alpha one
            mipmap_lod_bias=-6
    }
}
shader_szyby
{
  layer0
  {
    ;depthwrite=0
    map=szyby.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
  }
}