;Takahiro Imamura

shader_samurai_body
{
	sort_offset=0
	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
		emission=0.5 0.5 0.5
		blendfunc=filter
		shininess=24
		specular=0.75 0.75 0.75
	}
	layer2
	{
		map=$tracksunmap
		texgen_s=sphere_map
		texgen_t=reflection_map
		texgen_r=reflection_map
		blendfunc=dst_color one 
		shininess=24
		specular=1 1 1 1
	}
	layer3
	{
		map=samurai_body.tga
		blendfunc=one src_alpha
		shininess=24
		specular=0.15 0.15 0.15 0.15	
	}
}

;shader_samurai_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
		emission=1. 1. 1. 1.
		blendfunc=filter
	}
	layer2
	{
		map=samurai_body.tga
		mipmap=0
		shininess=40
 		specular=0.07 0.07 0.07 1
		diffuse= 0.78 0.78 0.78 1
	 	ambient= .39 .39 .39 1
		emission=.1 .1 .1 .1
		blendfunc=one src_alpha
	}
}

shader_samurai_windows
{
	layer0
	{
 		map=samurai_windows.tga
	 	blendfunc=blend
		emission=.1 .1 .1 .1
		depthwrite=0
	}
	layer1
	{
		map=$trackenvmap
		texgen_s=reflection_map
		texgen_t=reflection_map
		texgen_r=reflection_map
		blendfunc=src_color one
		depthwrite=0
	}
}

shader_mirror
{
	layer0
	{
		map=$trackenvmap
		texgen_s=reflection_map
		texgen_t=reflection_map
		texgen_r=reflection_map
		blendfunc=blend
	}
	layer1
	{
		map=chrome.tga
		shininess=0
		specular= 0 0 0 1
		emission= 0 0 0 1
		blendfunc=dst_alpha src_alpha   
	}
}

shader_black
{
	layer0
	{
		map=black.tga
	}
}


shader_chrome
{
	layer0
	{
		map=$trackenvmap
		texgen_s=reflection_map
		texgen_t=reflection_map
		texgen_r=reflection_map
	}
	layer1
	{
		map=chrome.tga
		blendfunc=one src_alpha
		shininess=24
	}
}

;shader_hksmuffler
{
	layer0
	{
		map=$trackenvmap
		texgen_s=reflection_map
		texgen_t=reflection_map
		texgen_r=reflection_map
	}
	layer1
	{
		map=hksmuffler.tga
		blendfunc=one src_alpha
	}
}
shader_hksmuffler
{
	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
		emission=1. 1. 1. 1.
		blendfunc=filter
	}
	layer2
	{
		map=hksmuffler.tga
		mipmap=0
		shininess=40
 		specular=0.07 0.07 0.07 1
		diffuse= 0.78 0.78 0.78 1
	 	ambient= .39 .39 .39 1
		emission=.1 .1 .1 .1
		blendfunc=one src_alpha
	}
}
shader_intercooler
{
	layer0
	{
		map=$trackenvmap
		texgen_s=reflection_map
		texgen_t=reflection_map
		texgen_r=reflection_map
	}
	layer1
	{
		map=intercooler.tga
		blendfunc=one src_alpha
	}
}
shader_disc
{
	layer0
	{
		map=$trackenvmap
		texgen_s=reflection_map
		texgen_t=reflection_map
		texgen_r=reflection_map
	}
	layer1
	{
		map=disc.tga
		blendfunc=one src_alpha
	}
}

shader_caliper
{
	layer0
	{
		map=$trackenvmap
		texgen_s=reflection_map
		texgen_t=reflection_map
		texgen_r=reflection_map
	}
	layer1
	{
		map=samurai_caliper.tga
		blendfunc=one src_alpha
	}
}

shader_tire
{
	layer0
	{
		map=direzza_dz101.tga
	}
}
shader_cinza2
{
	layer0
	{
		map=cinza2.tga
	}
}

shader_rim
{
	layer0
	{
		map=fresnel.tga
		texgen_s=sphere_map
		texgen_t=sphere_map
		emission=0.1 0.1 0.1 
	}
	layer1
	{
		map=$trackenvmap
		texgen_s=reflection_map
		texgen_t=reflection_map
		texgen_r=reflection_map
		shininess=0
		specular=0 0 0 0
	}
	layer2
	{
		map=work_z2.tga
		blendfunc=one src_alpha
	}
}

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

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



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