shader_capafarol
{
	layer0
	{
		map=fresnel.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=capafarol.tga
		blendfunc=one src_alpha
	}
}
shader_cam
{
   layer0
  {
    map=cam.tga
    shininess=10
    specular=0.2 0.2 0.2 1
  }
}
shader_astra_gsi_body
{
  layer0
  {
    map=astra_gsi_body.tga

    shininess=0
    specular=0 0 0
    ambient=0 0 0
    diffuse=0 0 0
    emission=0 0 0 0
  }
}
shader_chrome
{
  layer0
  {
    map=$trackenvmap
    texgen_s=reflection_map
    texgen_t=reflection_map
    texgen_r=reflection_map
    texenv=replace
  }
  layer1
  {
    map=chrome.tga
    blendfunc=one src_alpha
    shininess=50
    specular=1 1 1
  }
}
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_brake
{   
  layer0
    {
       map=brake.tga
    blendfunc=blend
    alphafunc=gequal 50
       emission=1 1 1 1
    }
}
shader_podswietlenie
{   
  layer0
    {
       map=podswietlenie.tga
    blendfunc=blend
    alphafunc=gequal 50
       emission=1 1 1 1
    }
}
shader_light
{   
  layer0
    {
       map=light.tga
    blendfunc=blend
    alphafunc=gequal 50
       emission=1 1 1 1
    }
}
shader_pod
{   
  layer0
    {
       map=podswietlenie.tga
    blendfunc=blend
    alphafunc=gequal 50
       emission=1 1 1 1
    }
}
shader_siyah
{
  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=siyah.tga
    blendfunc=one src_alpha
  }
}
;---------------------------------------------------------------------------------

shader_Blyszczace
{
  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=Matowe.tga
    blendfunc=one src_alpha
  }
}

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

shader_carpet
{
  layer0
  {
    map=carpet.tga

    shininess=0
    specular=0 0 0
    ambient=0 0 0
    diffuse=0 0 0
    emission=0 0 0 0
  }
}

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

shader_astra_gsi_dynamic
{
  layer0
  {
    map=astra_gsi_dynamic.tga

    shininess=0
    specular=0 0 0
    ambient=0 0 0
    diffuse=0 0 0
    emission=0 0 0 0
  }
}

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

shader_astra_gsi_mechanics
{
  layer0
  {
    map=astra_gsi_mechanics.tga

    shininess=0
    specular=0 0 0
    ambient=0 0 0
    diffuse=0 0 0
    emission=0 0 0 0
  }
}

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

shader_cha
{
  layer0
  {
    map=cha.tga

    shininess=0
    specular=0 0 0
    ambient=0 0 0
    diffuse=0 0 0
    emission=0 0 0 0
  }
}

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

shader_grill1
{
  layer0
  {
    map=grill1.tga

    shininess=0
    specular=0 0 0
    ambient=0 0 0
    diffuse=0 0 0
    emission=0 0 0 0
  }
}

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

shader_cloth02_darkgrey
{
  layer0
  {
    map=cloth02_darkgrey.tga

    shininess=0
    specular=0 0 0
    ambient=0 0 0
    diffuse=0 0 0
    emission=0 0 0 0
  }
}

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

shader_dark_plush
{
  sort_offset=0
  ;cull=front
  layer0
  {
    map=dark_plush.tga

    blendfunc=blend
    shininess=0
    specular=0 0 0
    ambient=0 0 0
    diffuse=0 0 0
    emission=0 0 0 0
  }
}

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

shader_astra_gsi_internal
{
  sort_offset=0
  ;cull=front
  layer0
  {
    map=astra_gsi_internal.tga

    blendfunc=blend
    shininess=0
    specular=0 0 0
    ambient=0 0 0
    diffuse=0 0 0
    emission=0 0 0 0
  }
}

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

shader_astra_gsi_transparent_taillight
{
  layer0
  {
    map=astra_gsi_transparent_taillight.tga

    blendfunc=blend
    shininess=0
    specular=0 0 0
    ambient=0 0 0
    diffuse=0 0 0
    emission=0 0 0 0
  }
}

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

shader_inext01
{
  layer0
  {
    map=inext01.tga

    shininess=0
    specular=0 0 0
    ambient=0 0 0
    diffuse=0 0 0
    emission=0 0 0 0
  }
}

shader_niss_log_rul1
{
  layer0
  {
    map=niss_log_rul1.tga

    shininess=0
    specular=0 0 0
    ambient=0 0 0
    diffuse=0 0 0
    emission=0 0 0 0
  }
}

shader_gray
{
  layer0
  {
    map=gray.tga

    shininess=0
    specular=0 0 0
    ambient=0 0 0
    diffuse=0 0 0
    emission=0 0 0 0
  }
}

shader_potenza_re01
{
  layer0
  {
    map=potenza_re01.tga

    shininess=0
    specular=0 0 0
    ambient=0 0 0
    diffuse=0 0 0
    emission=0 0 0 0
  }
}

shader_borut
{
  layer0
  {
    map=borut.tga

    shininess=0
    specular=0 0 0
    ambient=0 0 0
    diffuse=0 0 0
    emission=0 0 0 0
  }
}

shader_konsole
{
  layer0
  {
    map=konsole.tga

    shininess=0
    specular=0 0 0
    ambient=0 0 0
    diffuse=0 0 0
    emission=0 0 0 0
  }
}

shader_keys
{
  layer0
  {
    map=keys.tga

    shininess=0
    specular=0 0 0
    ambient=0 0 0
    diffuse=0 0 0
    emission=0 0 0 0
  }
}

shader_carbon
{
  layer0
  {
    map=carbon.tga

    shininess=0
    specular=0 0 0
    ambient=0 0 0
    diffuse=0 0 0
    emission=0 0 0 0
  }
}

shader_alcantara_black
{
  layer0
  {
    map=alcantara_black.tga

    shininess=0
    specular=0 0 0
    ambient=0 0 0
    diffuse=0 0 0
    emission=0 0 0 0
  }
}

shader_plastic_dash
{
  layer0
  {
    map=plastic_dash.tga

    shininess=0
    specular=0 0 0
    ambient=0 0 0
    diffuse=0 0 0
    emission=0 0 0 0
  }
}

shader_leather02_nero
{
  layer0
  {
    map=leather02_nero.tga

    shininess=0
    specular=0 0 0
    ambient=0 0 0
    diffuse=0 0 0
    emission=0 0 0 0
  }
}

shader_piondvd
{
  layer0
  {
    map=piondvd.tga

    shininess=0
    specular=0 0 0
    ambient=0 0 0
    diffuse=0 0 0
    emission=0 0 0 0
  }
}

shader_setka2
{
  layer0
  {
    map=setka2.tga

    shininess=0
    specular=0 0 0
    ambient=0 0 0
    diffuse=0 0 0
    emission=0 0 0 0
  }
}

shader_salon_2_g
{
  layer0
  {
    map=salon_2_g.tga

    shininess=0
    specular=0 0 0
    ambient=0 0 0
    diffuse=0 0 0
    emission=0 0 0 0
  }
}

shader_pedals_momo_sm
{
  layer0
  {
    map=pedals_momo_sm.tga

    shininess=0
    specular=0 0 0
    ambient=0 0 0
    diffuse=0 0 0
    emission=0 0 0 0
  }
}

shader_plate
{
  layer0
  {
    map=plate.tga

    shininess=0
    specular=0 0 0
    ambient=0 0 0
    diffuse=0 0 0
    emission=0 0 0 0
  }
}

shader_disk
{
  layer0
  {
    map=disk.tga

    shininess=0
    specular=0 0 0
    ambient=0 0 0
    diffuse=0 0 0
    emission=0 0 0 0
  }
}

shader_tyres
{
  layer0
  {
    map=tyres.tga

    shininess=0
    specular=0 0 0
    ambient=0 0 0
    diffuse=0 0 0
    emission=0 0 0 0
  }
}

shader_black
{
  layer0
  {
    map=black.tga

    shininess=0
    specular=0 0 0
    ambient=0 0 0
    diffuse=0 0 0
    emission=0 0 0 0
  }
}

shader_jbl
{
  layer0
  {
    map=jbl.tga

    shininess=0
    specular=0 0 0
    ambient=0 0 0
    diffuse=0 0 0
    emission=0 0 0 0
  }
}

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

shader_Szyby
{
  sort_offset=1
  ;cull=back
  layer0
  {
   map=Szyby.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_leatherblue2
{
   layer0
  {
    map=leatherblue2.tga
    shininess=10
    specular=0.2 0.2 0.2 1
  }
}

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

shader_Opony
{
   layer0
  {
    map=Kolpaki_Standard.tga
    shininess=10
    specular=0.2 0.2 0.2 1
  }
}

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

shader_Opony_Szybko
{
   layer0
  {
    map=Kolpaki_Szybko.tga
    shininess=10
    specular=0.2 0.2 0.2 1
  }
}

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

shader_6300
{
  layer0
  {
    map=Kolpaki_Standard.tga

    shininess=0
    specular=0 0 0
    ambient=0 0 0
    diffuse=0 0 0
    emission=0 0 0 0
  }
}

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

shader_63003
{
  layer0
  {
    map=63003.tga

    shininess=0
    specular=0 0 0
    ambient=0 0 0
    diffuse=0 0 0
    emission=0 0 0 0
  }
}

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

shader_laterdark
{
  layer0
  {
    map=laterdark.tga

    shininess=0
    specular=0 0 0
    ambient=0 0 0
    diffuse=0 0 0
    emission=0 0 0 0
  }
}

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

shader_Chrome
{
layer0
  {
    map=$trackenvmap
    texgen_s=reflection_map
    texgen_t=reflection_map
    texgen_r=reflection_map
    specular=0.8 0.8 0.8 1.0
    shininess=20
  }  
  layer1
  {
    map=Texture.tga
    blendfunc=one src_alpha
    ;add
    shininess=20
    specular=0.8 0.8 0.8 1.0
	}
}

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

shader_wood
{
   layer0
  {
    map=wood.tga
    shininess=10
    specular=0.2 0.2 0.2 1
  }
}

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

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

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

shader_astra_gsi_transparent_taillight_on
{
  sort_offset=1
  layer0
    {
       map=astra_gsi_transparent_taillight_on.tga
       blendfunc=add
       texenv=replace
       emission=1 1 1 1
    }
}

shader_inext01_on
{
  sort_offset=1
  layer0
    {
       map=inext01_on.tga
       blendfunc=add
       texenv=replace
       emission=1 1 1 1
    }
}

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

shader_astra_gsi_transparent_taillight_brk
{
  sort_offset=1
  layer0
    {
       map=astra_gsi_transparent_taillight_brk.tga
       blendfunc=add
       texenv=replace
       emission=1 1 1 1
    }
}

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

shader_chrome
{
  layer0
  {
    map=$trackenvmap
    texgen_s=reflection_map
    texgen_t=reflection_map
    texgen_r=reflection_map
    texenv=replace
  }
  layer1
  {
    map=chrome.tga
    blendfunc=one src_alpha
    shininess=50
    specular=1 1 1
  }
}