;2005 Bullitt Mustang David  Ireland

shader_stang01g
{
  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=34
    ;specular=.5 .5 .5
    ;diffuse=.5 .5 .5
    ;ambient=0 0 0
    blendfunc=filter
  }
  layer2
  {
    map=stang01g.tga
    ;shininess=34
    ;specular=.5 .5 .5
    ;diffuse=.5 .5 .5
    ;ambient=.5 .5 .5
    blendfunc=src_alpha one_minus_src_alpha
  }
}
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=34
    ;specular=.5 .5 .5
    ;diffuse=.5 .5 .5
    ;ambient=0 0 0
    blendfunc=filter
  }
  layer2
  {
    map=stang01.tga
    ;shininess=34
    ;specular=.5 .5 .5
    ;diffuse=.5 .5 .5
    ;ambient=.5 .5 .5
    blendfunc=src_alpha one_minus_src_alpha
  }
}
shader_logo
{
  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=34
    ;;specular=.5 .5 .5
    ;diffuse=.5 .5 .5
    ;ambient=0 0 0
    blendfunc=filter
  }
  layer2
  {
    map=stang01.tga
    ;shininess=34
    ;specular=.5 .5 .5
    ;diffuse=.5 .5 .5
    ;ambient=.5 .5 .5
    blendfunc=src_alpha one_minus_src_alpha
  }
  layer3
  {
    map=stang02.tga
    shininess=34
    ;specular=.5 .5 .5
    ;diffuse=.5 .5 .5
    ;ambient=.5 .5 .5
    alphafunc=gequal 128
    blendfunc=src_alpha one_minus_src_alpha
  }
}
shader_bullitta
{
  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=34
    ;specular=.5 .5 .5
    ;diffuse=.5 .5 .5
    ;ambient=0 0 0
    blendfunc=filter
  }
  layer2
  {
    map=bullittb.tga
    shininess=34
    ;specular=.5 .5 .5
    ;diffuse=.5 .5 .5
    ;ambient=.5 .5 .5
    blendfunc=one one_minus_src_alpha
  }
}
;---------------------------------------
;shader_interiorhr
;{
; layer0
; {
;  map=interiorhr.tga
;  shininess=10
;  specular=.2 .2 .2
;  ambient=1 1 1
;  emission=0 0 0
;  ;blendfunc=one_minus_src_alpha
; }
;}
;---------------------------------------
shader_interior
{
 layer0
 {
  map=stang03.tga
  shininess=10
  ;specular=.2 .2 .2
  ;ambient=.5 .5 .5
  ;emission=0 0 0
  ;blendfunc=one_minus_src_alpha
 }
}
;---------------------------------------
shader_gauges
{
 layer0
 {
  map=interiorhr.tga
  ;shininess=10
  ;specular=.2 .2 .2
  ;ambient=.5 .5 .5
  ;emission=0 0 0
  ;blendfunc=one_minus_src_alpha
 }
}
;---------------------------------------
shader_satin
{
 layer0
 {
  map=interiorhr.tga
  shininess=30
  specular=1 1 1
  ambient=.5 .5 .5
  emission=0 0 0
  ;blendfunc=one_minus_src_alpha
 }
}
shader_metal
{
  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_intchrome
{
  layer0
  {
    map=interiorhr.tga
    mipmap=0
    shininess=60
    specular= 1 1 1
    emission=0 0 0
  }
  layer1
  {
    map=$trackenvmap
    ;texgen_s=normal_map
    ;texgen_t=normal_map
    ;texgen_r=normal_map
    texgen_s=reflection_map
    texgen_t=reflection_map
    texgen_r=reflection_map
    emission=0 0 0
    blendfunc=add
  }
}
;-------------------------------
shader_taillights
{
  layer0
  {
    map=stang02.tga
    shininess=128
    specular=.2 .2 .2
    emission=.2 .2 .2
   ;blendfunc=blend
    depthwrite=1
  }
}
;-------------------------------
shader_headlights
{
  layer0
  {
    map=stang02.tga
    shininess=128
    ;specular=.2 .2 .2
    emission=1 1 1
    blendfunc=blend
    depthwrite=1
  }
}
;-----------------------------
shader_brakelights
{
  layer0
  {
    map=stang02.tga
    emission=1 1 1
    blendfunc=add
    depthwrite=1
  }
}
;--------------------------------------
shader_reflectors
{
  layer0
  {
    map=stang01.tga
    mipmap=0
    shininess=60
    specular= 1 1 1
  }
  layer1
  {
    map=$trackenvmap
    texgen_s=reflection_map
    texgen_t=reflection_map
    texgen_r=reflection_map
    shininess=60
    blendfunc=add
    depthwrite=0
  }
}
;---------------------------------
shader_glass
{
  layer0
  {
    map=stang02.tga
    shininess=96 ;28
    ;specular=.5 .5 .5
    ;ambient=.52 .52 .52
    blendfunc=blend
  }
  layer1
  {
    map=$trackenvmap
    texgen_s=reflection_map
    texgen_t=reflection_map
    texgen_r=reflection_map
    shininess=96 
    ;specular=.5 .5 .5
    ;ambient=.52 .52 .52
    blendfunc=src_color one
}
  layer2
  {
    map=stang02.tga
    ;shininess=96 ;28
    alphafunc=lequal 50
    blendfunc=one zero
  }
}
;---------------------------------
;shader_glass2
;{
;  layer0
;  {
;    map=stang02.tga
;  }
;}
;---------------------------------------
shader_mirror
 {	
	layer0
         {
		map=$mirror
		texscale_s=1
		texscale_r=1
		texscale_t=1
		;emission=.5 .5 .5
         }
}
;----------------------------------------
shader_maledriver
{
  layer0
  {
    map=maledriver.tga
    shininess=10
    ;specular=0 0 0
    ;ambient=.5 .5 .5
    ;diffuse=.5 .5 .5
  }
}
shader_cinza
{
  layer0
  {
    map=cinza.tga
    shininess=10
    ;specular=0 0 0
    ;ambient=.5 .5 .5
    ;diffuse=.5 .5 .5
  }
}
;----------------------------------------
shader_gauge_needle
{
  layer0
  {
    map=gauge_needle.jpg
  }
}
;---------------------------------------
;shader_chassis
;{
;  layer0
;  {
;    map=stang01.tga
;    shininess=20
;    ambient=.5 .5 .5
;  }
;}

shader_tyres512
{
	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
blendfunc=filter
shininess=10
specular=0.75 0.75 0.75
 mipmap=1
	}
	layer2
	{
		map=tyres512.tga
blendfunc=one src_alpha
                mipmap=1
    }
}
shader_goodyearracing256
{
 layer0
 {
  map=goodyearracing256.tga
 }
}
shader_toyo2pro128
{
 layer0
 {
  map=toyo2pro128.tga
 }
}
shader_Lights
{
  sort_offset=1
  layer0
    {
       map=Lights.tga
       blendfunc=add
       texenv=replace
       emission=1 1 1 1
    }
}

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

shader_Brakes
{
  sort_offset=1
  layer0
    {
       map=Brakes.tga
       blendfunc=add
       texenv=replace
       emission=1 1 1 1
    }
}

