; 2005 Toyota Prius by Sam Jigga, Shader by L.B., based upon MrWhippy's BMW M3 Shader.

shader_priusbody1
{
	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
		blendfunc=filter

		shininess=24
		specular=0.75 0.75 0.75
	}
	layer2
	{
		map=prius_bumpers.tga
		blendfunc=one src_alpha
	}
}

shader_priusbody2a
{
	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
		blendfunc=filter

		shininess=24
		specular=0.75 0.75 0.75
	}
	layer2
	{
		map=prius_body.tga
		blendfunc=one src_alpha
	}
}

shader_priusbody3
{
	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
		blendfunc=filter

		shininess=24
		specular=0.75 0.75 0.75
	}
	layer2
	{
		map=prius_doorhandle.tga
		blendfunc=one src_alpha
	}
}

shader_priusglass1
{
	layer0
	{
		map=prius_ext_glass.tga
		blendfunc=blend
		depthwrite=0
		shininess=64
	}
	layer1
	{
		map=$trackenvmap
		texgen_s=reflection_map
		texgen_t=reflection_map
		texgen_r=reflection_map
		blendfunc=src_color one_minus_src_color
		;blendfunc=filter
		depthwrite=0
	}
}

shader_priusglass2
{
	layer0
	{
		map=prius_int_glass.tga
		blendfunc=blend
		depthwrite=0
		shininess=64
	}
}

shader_prius1
{
	layer0
	{
		map=prius_headlight.jpg
	}
}

shader_prius2
{
	layer0
	{
		map=prius_rearlight.jpg
	}
}

shader_priusparts1
{
	layer0
	{
		map=prius_parts.jpg
	}
}

shader_priuslogo1
{
	layer0
	{
		map=prius_decal1.tga
		blendfunc=blend
    		depthwrite=0
	}
}

shader_priuslogo2
{
	layer0
	{
		map=prius_decal2.tga
		blendfunc=blend
    		depthwrite=0
	}
}

shader_priusint1
{
	layer0
	{
		map=prius_int1.jpg
	}
}

shader_priusint2
{
	layer0
	{
		map=prius_int2.jpg
	}
}

shader_priusint3
{
	layer0
	{
		map=prius_int3.jpg
	}
}

shader_priusint4
{
	layer0
	{
		map=prius_int4.jpg
	}
}

shader_priusint5
{
	layer0
	{
		map=prius_int5.jpg
	}
}

shader_priusvolan
{
	layer0
	{
		map=prius_volan.jpg
	}
}

shader_priusmirror
{
	layer0
	{
    		map=priusmirror.jpg
   		emission=.2 .2 .2 .2
	}
}

shader_priusmirrorint
{
	layer0
	{
		map=$mirror
   		texscale_s=1
  		texscale_r=1
  		texscale_t=1
   		emission=.6 .6 .6 .6
	}
}

shader_priuswheel1
{
	layer0
	{
		map=prius_rim.jpg
	}
}

shader_priuswheel2
{
	layer0
	{
		map=prius_tire.jpg
		shininess=8
		specular=0.1 0.1 0.15 1
	}
}

shader_priusbrake
{
	layer0
	{
		map=prius_brakelights.tga
		blendfunc=blend
                emission=0 0 0 0
		texenv=add
		;texenv=replace
	}
}

shader_brakes
{
	layer0
	{
		map=prius_discbrakes.tga
		shininess=32
		specular=1 1 1 1
	}
}

shader_sorina
{
	layer0
	{
		map=sorina.jpg
	}
}

shader_priusshadow
{
  layer0
  {
    map=priusshadow.tga
    blendfunc=blend
    texenv=replace
    depthwrite=0
  }
}

shader_shadow
{
cull=none
layer0
{
map=shadow.tga
blendfunc=one_src_alpha
;blendfunc=src_color one_minus_src_alpha
depthwrite=0
}
}