//Christmas killhouse 쉐더
//최종작성일 2004년12월27일
//제작자 - fetchinist
//제작자의 동의 없이 함부로 수정할 수 없습니다
//"we need hula's love!!"

textures/cri_killhouse/s_stair
{
	surfaceparm metalsteps
	implicitMap -
}

textures/cri_killhouse/s_health
{
	surfaceparm metalsteps
	implicitMap -
}

textures/cri_killhouse/s_cafeteria
{
	surfaceparm metalsteps
	implicitMap -
}

textures/cri_killhouse/s_axis
{
	surfaceparm metalsteps
	implicitMap -
}

textures/cri_killhouse/stw-base-snow
{
	surfaceparm snowsteps
	implicitMap -
}

textures/cri_killhouse/stw-base-snow_w
{
	surfaceparm snowsteps
	implicitMap -
}

textures/cri_killhouse/gray-planks
{
	surfaceparm woodsteps
	implicitMap -
}

textures/cri_killhouse/gray-planks-snow
{
	surfaceparm snowsteps
	implicitMap -
}

textures/cri_killhouse/plywood-60
{
	surfaceparm woodsteps
	implicitMap -
}

textures/cri_killhouse/plywood-60-snow
{
	surfaceparm snowsteps
	implicitMap -
}

textures/cri_killhouse/xmetal
{
	qer_editorimage textures/cri_killhouse/xmetal.tga
	surfaceparm slick
	surfaceparm metalsteps
	{
		map textures/effects/tinfx.tga
		rgbGen identity
		tcGen environment
	}
	{
		map textures/cri_killhouse/xmetal.tga
		blendFunc GL_ONE GL_ONE_MINUS_SRC_ALPHA
		rgbGen identity
	}
	{
		map $lightmap
		blendFunc GL_DST_COLOR GL_ZERO
		rgbGen identity
	}
}

textures/cri_killhouse/glass
{
	qer_editorimage textures/cri_killhouse/glass.tga
	qer_trans 0.5
	cull none
	surfaceparm glass
	surfaceparm trans
	{
		map textures/cri_killhouse/glass.tga
		blendFunc GL_ONE GL_ONE
		rgbGen identity
		tcgen environment
	}
	{
		map $lightmap
		blendFunc filter
		rgbGen identity
	}
}

textures/cri_killhouse/snow
{
	qer_editorimage textures/cri_killhouse/mxsnow2.jpg
   
	q3map_forceMeta
	q3map_nonplanar
	q3map_shadeAngle 179
	surfaceparm landmine
	surfaceparm snowsteps
	{
		map textures/desert_sd/sand_dirt_medium.tga
		rgbGen identity
	}
	{
		map textures/cri_killhouse/mxsnow2.jpg
		blendFunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA            
		rgbGen identity
		alphaGen vertex
	}
	{
		map $lightmap
		blendFunc GL_DST_COLOR GL_ZERO
		rgbGen identity
	}
}

textures/cri_killhouse/yellow_bulb
{
	qer_editorimage textures/cri_killhouse/yellow.jpg
	cull none
	surfaceparm glass
	surfaceparm pointlight
	surfaceparm trans
	{
		map textures/cri_killhouse/yellow.jpg
		blendFunc GL_ONE GL_ONE
		rgbGen const ( 1.0 1.0 0.0 )
	}
}

textures/cri_killhouse/colored_red_bulb
{
	qer_editorimage textures/cri_killhouse/red.jpg
	q3map_surfacelight 100
	cull none
	surfaceparm glass
	surfaceparm pointlight
	{
		animMap 1 textures/cri_killhouse/red.jpg textures/cri_killhouse/yellow.jpg textures/cri_killhouse/green.jpg textures/cri_killhouse/blue.jpg
		blendFunc GL_ONE GL_ONE
		rgbGen const ( 1.0 1.0 1.0 )
	}
}

textures/cri_killhouse/colored_yellow_bulb
{
	qer_editorimage textures/cri_killhouse/yellow.jpg
	q3map_surfacelight 100
	cull none
	surfaceparm glass
	surfaceparm pointlight
	{
		animMap 1 textures/cri_killhouse/yellow.jpg textures/cri_killhouse/green.jpg textures/cri_killhouse/blue.jpg textures/cri_killhouse/red.jpg
		blendFunc GL_ONE GL_ONE
		rgbGen const ( 1.0 1.0 1.0 )
	}
}

textures/cri_killhouse/colored_green_bulb
{
	qer_editorimage textures/cri_killhouse/green.jpg
	q3map_surfacelight 100
	cull none
	surfaceparm glass
	surfaceparm pointlight
	{
		animMap 1 textures/cri_killhouse/green.jpg textures/cri_killhouse/blue.jpg textures/cri_killhouse/red.jpg textures/cri_killhouse/yellow.jpg
		blendFunc GL_ONE GL_ONE
		rgbGen const ( 1.0 1.0 1.0 )
	}
}

textures/cri_killhouse/colored_blue_bulb
{
	qer_editorimage textures/cri_killhouse/blue.jpg
	q3map_surfacelight 100
	cull none
	surfaceparm glass
	surfaceparm pointlight
	{
		animMap 1 textures/cri_killhouse/blue.jpg textures/cri_killhouse/red.jpg textures/cri_killhouse/yellow.jpg textures/cri_killhouse/green.jpg
		blendFunc GL_ONE GL_ONE
		rgbGen const ( 1.0 1.0 1.0 )
	}
}