; Shark (2009)
; prototype by ekoz
; ekoz@free.fr
shader_shark_body
{
	layer0
	{
		map=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=sphere_map
		texgen_t=reflection_map
		texgen_r=reflection_map
		blendfunc=dst_color one 
		shininess=24
		specular=1 1 1 1
	}
	layer3
	{
		map=shark_body.tga
		blendfunc=one src_alpha
		shininess=24
		specular=0.15 0.15 0.15 0.15
		mipmap=1
	} 
}
shader_shark_interior
{
	layer0
	{
		map=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=sphere_map
		texgen_t=reflection_map
		texgen_r=reflection_map
		blendfunc=dst_color one 
		shininess=24
		specular=1 1 1 1
	}
	layer3
	{
		map=shark_interior.tga
		blendfunc=one src_alpha
		shininess=24
		specular=0.15 0.15 0.15 0.15
		mipmap=1
	} 
}
shader_shark_steer
{
	layer0
	{
		map=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=sphere_map
		texgen_t=reflection_map
		texgen_r=reflection_map
		blendfunc=dst_color one 
		shininess=24
		specular=1 1 1 1
	}
	layer3
	{
		map=shark_steer.tga
		blendfunc=one src_alpha
		shininess=24
		specular=0.15 0.15 0.15 0.15
		mipmap=1
	}
}
shader_shark_driver
{
	layer0
	{
		map=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=sphere_map
		texgen_t=reflection_map
		texgen_r=reflection_map
		blendfunc=dst_color one 
		shininess=24
		specular=1 1 1 1
	}
	layer3
	{
		map=shark_driver.tga
		blendfunc=one src_alpha
		shininess=24
		specular=0.15 0.15 0.15 0.15
		mipmap=1
	}
}
shader_shark_glass
{
	sort_offset=1
	layer0
	{
		map=shark_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
	}
}
shader_shark_tire
{
	layer0
	{
		map=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=sphere_map
		texgen_t=reflection_map
		texgen_r=reflection_map
		blendfunc=dst_color one 
		shininess=24
		specular=1 1 1 1
	}
	layer3
	{
		map=shark_tire.tga
		blendfunc=one src_alpha
		shininess=24
		specular=0.15 0.15 0.15 0.15
		mipmap=1
	} 
}
shader_shark_tireb
{
	layer0
	{
		map=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=sphere_map
		texgen_t=reflection_map
		texgen_r=reflection_map
		blendfunc=dst_color one 
		shininess=24
		specular=1 1 1 1
	}
	layer3
	{
		map=shark_tireb.tga
		blendfunc=one src_alpha
		shininess=24
		specular=0.15 0.15 0.15 0.15
		mipmap=1
	}
}
shader_shark_blight
{
	layer0
	{
		map=shark_blight.tga
		blendfunc=blend
		emission=1 1 1
	}
}
shader_shark_lights
{
	layer0
	{
		map=shark_lights.tga
		blendfunc=blend
		emission=1 1 1
	}
}
shader_shark_brake
{
	layer0
	{
		map=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=sphere_map
		texgen_t=reflection_map
		texgen_r=reflection_map
		blendfunc=dst_color one 
		shininess=24
		specular=1 1 1 1
	}
	layer3
	{
		map=shark_brake.tga
		blendfunc=one src_alpha
		shininess=24
		specular=0.15 0.15 0.15 0.15
		mipmap=1
	}
}
shader_shark_chroms
{
	layer0
	{
		map=$trackenvmap
		texgen_s=reflection_map
		texgen_t=reflection_map
		texgen_r=reflection_map
		texenv=replace
	}
	layer1
	{
		map=shark_chroms.tga
		blendfunc=one src_alpha
		shininess=50
		specular=1 1 1
	}
}
shader_shark_tirec
{
	layer0
	{
		map=$trackenvmap
		texgen_s=reflection_map
		texgen_t=reflection_map
		texgen_r=reflection_map
		texenv=replace
	}
	layer1
	{
		map=shark_tirec.tga
		blendfunc=one src_alpha
		shininess=50
		specular=1 1 1
	}
}