shader_body
{
	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=body.tga
		blendfunc=one src_alpha
	}
}
shader_chrome
{
  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_chromen
{
  layer0
  {
    map=$trackenvmap
    texgen_s=reflection_map
    texgen_t=reflection_map
    texgen_r=reflection_map
      shininess=42
      specular=1 1 1 1
  }
  layer1
  {
    map=chromen.tga
    blendfunc=one src_alpha
  shininess=35
  specular=0.76 0.75 0.74
  }
}
shader_glass
{
  sort_offset=1
  ;cull=back
  layer0
  {
   map=glass.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_headlights
{
  sort_offset=1
  ;cull=back
  layer0
  {
   map=headlights.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_glass2
{
  sort_offset=1
  ;cull=back
  layer0
  {
   map=glass2.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_glass3
{
  sort_offset=1
  ;cull=back
  layer0
  {
   map=glass3.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_orangeglass
{
  sort_offset=1
  ;cull=back
  layer0
  {
   map=orangeglass.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_glassn
{
  sort_offset=1
  ;cull=back
  layer0
  {
   map=glassn.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_mirror
{
  layer0
  {
    cast_shadow=1
    map=$mirror
    texscale_s=1
    texscale_r=1
    texscale_t=1
    diffuse=0.015 0.015 0.015 1
    ambient=0.015 0.015 0.015 1
  }
}
;---------------------------------------------------------------------------------

shader_2
{
  cast_shadow=1
  layer0
  {
    map=2.tga
  }
}
shader_alu
{
  cast_shadow=1
  layer0
  {
    map=alu.tga
  }
}
shader_beben
{
  cast_shadow=1
  layer0
  {
    map=beben.tga
  }
}
shader_clignotant
{
  cast_shadow=1
  layer0
  {
    map=clignotant.tga
  }
}
shader_console_t
{
  cast_shadow=1
  layer0
  {
    map=console_t.tga
  }
}
shader_brakediscs
{
  cast_shadow=1
  layer0
  {
    map=brakediscs.tga
  }
}
shader_opona
{
  cast_shadow=1
  layer0
  {
    map=opona.tga
  }
}
shader_czarne
{
  cast_shadow=1
  layer0
  {
    map=czarne.tga
  }
}
shader_dials
{
  cast_shadow=1
  layer0
  {
    map=dials.tga
  }
}
shader_int1
{
  cast_shadow=1
  layer0
  {
    map=int1.tga
  }
}
shader_int2
{
  cast_shadow=1
  layer0
  {
    map=int2.tga
  }
}
shader_lcd
{
  cast_shadow=1
  layer0
  {
    map=lcd.tga
  }
}
shader_tablice
{
  cast_shadow=1
  layer0
  {
    map=tablice.tga
  }
}
shader_taillights
{
  cast_shadow=1
  layer0
  {
    map=taillights.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_2on
{
   sort_offset=1
  layer0
  {
    map=2on.tga
     blendfunc=add
       emission=5 5 5 1
  }
}
shader_chromeon
{
   sort_offset=1
  layer0
  {
    map=chromeon.tga
     blendfunc=add
       emission=5 5 5 1
  }
}
shader_console_ton
{
   sort_offset=1
  layer0
  {
    map=console_ton.tga
     blendfunc=add
       emission=5 5 5 1
  }
}
shader_dialson
{
   sort_offset=1
  layer0
  {
    map=dialson.tga
     blendfunc=add
       emission=5 5 5 1
  }
}
shader_lcdon
{
   sort_offset=1
  layer0
  {
    map=lcdon.tga
     blendfunc=add
       emission=5 5 5 1
  }
}
shader_tabliceon
{
   sort_offset=1
  layer0
  {
    map=tabliceon.tga
     blendfunc=blend
       emission=1 1 1 1
  }
}
shader_taillightson
{
   sort_offset=1
  layer0
  {
    map=taillightson.tga
     blendfunc=add
       emission=5 5 5 1
  }
}
shader_headlightson
{
   sort_offset=1
  layer0
  {
    map=headlightson.tga
     blendfunc=add
       emission=5 5 5 1
  }
}