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

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
  }
}


;---- addons

shader_txt_mirror
{
cull=none
layer0
{
    map=$mirror
    texscale_s=1
    texscale_r=1
    texscale_t=1
    emission=0.1 0.1 0.1 1
}
}

;---- ruote

shader_disc
{
	layer0
	{
		map=disc.tga
	}
}
}
shader_preto
{
	layer0
	{
		map=preto.tga
	}
}
}
shader_tire1
{
	layer0
	{
		map=tire1.tga
	}
}
}
shader_tire2
{
	layer0
	{
		map=tire2.tga
	}
}
}
shader_gallardos_wheel
{
	layer0
	{
		map=gallardos_wheel.tga
	}
}
}
shader_negru
{
	layer0
	{
		map=negru.tga
	}
}
}
shader_firestone
{
	layer0
	{
		map=firestone.tga
	}
}
}


;---- altro

shader_remapelegybody128
{
	layer0
	{
		map=txt_fresnel.tga
		texgen_s=sphere_map
		texgen_t=sphere_map
		emission=.1 .1 .1 .1
  		mipmap=0
	}
	layer1
	{
		map=$trackenvmap
		texgen_s=reflection_map
		texgen_t=reflection_map
		texgen_r=reflection_map
		emission=0.15 0.15 0.15
		blendfunc=filter
		shininess=12
		specular=0.15 0.15 0.15
		mipmap=0
	}
	layer2
	{
		map=$tracksunmap
		texgen_s=reflection_map
		texgen_t=reflection_map
		texgen_r=reflection_map
		blendfunc=one dst_alpha ; Metallized
		;blendfunc=dst_color one ; Non-Metallized
		shininess=12
		specular=.1 .1 .1 .1
		mipmap=0
	}
	layer3
	{
		map=remapelegybody128.tga
		blendfunc=one src_alpha
		shininess=12
		specular=0.15 0.15 0.15 0.15
		mipmap=0
	}
}
shader_glass_scuro
{
	layer0
	{
		map=txt_fresnel.tga
		texgen_s=sphere_map
		texgen_t=sphere_map
		emission=1 1 1 1
  		mipmap=1
	}
	layer1
	{
		map=$trackenvmap
		texgen_s=reflection_map
		texgen_t=reflection_map
		texgen_r=reflection_map
		emission=0.5 0.5 0.5
		blendfunc=filter
		shininess=24
		specular=0.75 0.75 0.75
		mipmap=0
	}
	layer2
	{
		map=$tracksunmap
		texgen_s=reflection_map
		texgen_t=reflection_map
		texgen_r=reflection_map
		;blendfunc=one dst_alpha ; Metallized
		blendfunc=dst_color one ; Non-Metallized
		shininess=24
		specular=1 1 1 1
		mipmap=0
	}
	layer3
	{
		map=glass_scuro.tga
		blendfunc=one src_alpha
		shininess=24
		specular=0.15 0.15 0.15 0.15
		mipmap=1
	}
}

shader_1_1
{
	layer0
	{
		map=1.tga
	}
}
}
shader_vitz_leather_light
{
	layer0
	{
		map=vitz_leather_light.tga
	}
}
}
shader_lanternas
{
	layer0
	{
		map=lanternas.tga
	}
}
}
shader_vitz_plastic
{
	layer0
	{
		map=vitz_plastic.tga
	}
}
}
shader_vehiclelights128
{
	layer0
	{
		map=vehiclelights128.tga
	}
}
}
shader_vitz_wood
{
	layer0
	{
		map=vitz_wood.tga
	}
}
}
shader_vitz_buttons2
{
	layer0
	{
		map=vitz_buttons2.tga
	}
}
}
shader_vitz_dev
{
	layer0
	{
		map=vitz_dev.tga
	}
}
}
shader_vitz_lights
{
	layer0
	{
		map=vitz_lights.tga
	}
}
}
shader_vitz_engine
{
	layer0
	{
		map=vitz_engine.tga
	}
}
}
shader_vitz_fr
{
	layer0
	{
		map=vitz_fr.tga
	}
}
}
shader_vitz_buttons
{
	layer0
	{
		map=vitz_buttons.tga
	}
}
}
shader_vitz_aluminium
{
	layer0
	{
		map=vitz_aluminium.tga
	}
}
}
shader_vitz_carpet
{
	layer0
	{
		map=vitz_carpet.tga
	}
}
}
shader_num
{
	layer0
	{
		map=num.tga
	}
}
}shader_grill
{
	layer0
	{
		map=grill.tga
	}
}
}
shader_interior
{
	layer0
	{
		map=CARRERAGT INTERIOR.tga
	}
}
}
shader_rejestracja
{
	layer0
	{
		map=rejestracja.tga
	}
}
}
shader_ad08sidewall
{
	layer0
	{
		map=ad08sidewall.tga
	}
}
}
shader_advan
{
	layer0
	{
		map=advan.tga
	}
}
}
shader_freio
{
	layer0
	{
		map=freio.tga
	}
}
}
shader_black
{
	layer0
	{
		map=black.tga
	}
}
}
shader_cloth02_darkgrey
{
	layer0
	{
		map=cloth02_darkgrey.tga
	}
}
}
shader_leather
{
	layer0
	{
		map=leather.tga
	}
}
}
shader_wed105
{
	layer0
	{
		map=wed105.tga
	}
}
}shader_genericporsche_911rsr_cpit02
{
	layer0
	{
		map=genericporsche_911rsr_cpit02.tga
	}
}
}
shader_interior3
{
  layer0
    {
      map=interior3.tga
    blendfunc=blend
    alphafunc=gequal 150
    depthwrite=1
    }
}
}shader_interioriluminat
{
	layer0
	{
		map=interioriluminat.tga
	}
}
}shader_remap
{
	layer0
	{
		map=remap.tga
	}
}
}



;---- freni
shader_lights_lod0on
{
	sort_offset=1
	layer0
	{
		map=lights_lod0on.tga
		blendfunc=add
		texenv=replace
		emission=4 4 4 4 
	}
}
shader_vehiclelights128on
{
	sort_offset=1
	layer0
	{
		map=vehiclelights128on.tga
		blendfunc=add
		texenv=replace
		emission=4 4 4 4 
	}
}
shader_shitson
{
	sort_offset=1
	layer0
	{
		map=shitson.tga
		blendfunc=add
		texenv=replace
		emission=4 4 4 4 
	}
}
;---- luci

shader_headlights
{
  layer0
    {
      map=headlights.tga
      emission=1 1 1 1
      shininess=4
      specular=0 0 0 1
      blendfunc=blend
      texenv=replace
    }
}
shader_vitz_buttonson
{
  sort_offset=1
  layer0
  {
    map=vitz_buttonson.tga
    blendfunc=blend
    emission=4 4 4 4 
    texenv=replace
  }
}
shader_vehiclelights128on
{
  sort_offset=1
  layer0
  {
    map=vehiclelights128on.tga
    blendfunc=blend
    emission=1 1 1 1
    texenv=replace
  }
}
shader_rejestracjaon
{
  sort_offset=1
  layer0
  {
    map=rejestracjaon.tga
    blendfunc=blend
    emission=4 4 4 4 
    texenv=replace
  }
}
shader_rejestracjaon
{
  sort_offset=1
  layer0
  {
    map=rejestracjaon.tga
    blendfunc=blend
    emission=4 4 4 4 
    texenv=replace
  }
}
shader_rejestracjaon
{
  sort_offset=1
  layer0
  {
    map=rejestracjaon.tga
    blendfunc=blend
    emission=4 4 4 4 
    texenv=replace
  }
}
shader_vitz_devon
{
  sort_offset=1
  layer0
  {
    map=vitz_devon.tga
    blendfunc=blend
    emission=4 4 4 4 
    texenv=replace
  }
}
shader_Lights
{
  sort_offset=1
  layer0
    {
       map=Lights.tga
       blendfunc=add
       texenv=replace
       emission=4 4 4 4
    }
}
shader_Lanternason
{
  sort_offset=1
  layer0
    {
       map=Lanternason.tga
       blendfunc=add
       texenv=replace
       emission=4 4 4 4
    }
}

shader_txt_halo
{
cull=none
depthwrite=1
layer0
{
    map=txt_halo.tga
    shininess=28
    specular= .02 .02 .02
    diffuse= .9 .9 .9
    ambient= .18 .18 .18
    blendfunc=src_color one
  }
}
