;====================================
;Land Rover Defender 110 
;====================================
;Exterior panels and parts
;====================================
shader_110
{
	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=24
		specular=0.75 0.75 0.75
		blendfunc=filter
	}
	layer2
	{
		map=lr110.tga
		blendfunc=one src_alpha
	}
}

shader_grill
{
	layer0
	{
		map=grilmanl.tga
	}
}


shader_razorback
{
	layer0
	{
		map=wheeltex.tga
	}

}

shader_razorbackright
{
	layer0
	{
		map=wheeltex right.tga
	}

}

shader_axel
{
	layer0
	{
		map=chrome.tga
	}
}

shader_plastic
{
	layer0
	{
		map=blackplastic.tga
	}
}

shader_interior
{
	layer0
	{
		map=interior.tga
	}
}

shader_lights
{
	layer0
	{
		map=lights.tga
	}
}

shader_mirrors
{
layer0
{
    map=$mirror
    emission=0.8 0.8 0.8 
}
}
shader_mirrors_no_map
{
layer0
  {
    map=$trackenvmap
    texgen_s=reflection_map
    texgen_t=reflection_map
    texgen_r=reflection_map
    shininess=40
  }  
  layer1
  {
    map=mirror.tga
    blendfunc=add
    alphafunc=gequal 1
    shininess=40
    ;specular=0.01 0.01 0.01 254}
}
}


shader_sumpguard
{
	layer0
	{
		map=chrome.tga
	}
}

shader_glass
{
	cull=back
	layer0
	{
		map=glass.tga
		shininess=30
		specular=0.90,0.90,0.90
		diffuse=0.95,0.95,0.95
		ambient=0.13,0.13,0.13
		emission=0.13,0.13,0.13
		depthwrite=0 
		blendfunc=blend
	}
	layer1
	{
		map=$trackenvmap
		texgen_s=reflection_map
		texgen_t=reflection_map
		texgen_r=reflection_map
		blendfunc=src_color one_minus_src_color
	}
}
shader_blight
{
  layer0
  {
    map=blight.tga
    blendfunc=blend
    texenv=replace
    emission=1 1 1
    depthwrite=0
  }
}

shader_hlight
{
  layer0
  {
    map=hlight.tga
    blendfunc=blend
    texenv=replace
    emission=1 1 1
    depthwrite=0
  }
}

shader_lightson
{
  layer0
  {
    map=lightson.tga
    blendfunc=blend
    texenv=replace
    emission=1 1 1
    depthwrite=0
  }
}

;====================================
;End
;====================================