//allowclip_gecsgocarpark_251_51//
UNR_maskwin2
{
	surfaceparm nodraw
	surfaceparm nonsolid
	cull none
	{
		map textures/UNR_maskwin2
		blendFunc add
		rgbGen vertex
	}
}

////glass_gecsgocarpark_251_54
//{
//	surfaceparm trans
//	//surfaceparm nodraw
//	cull none
//	{
//		map textures/gecsgocarpark_251_54
//		blendFunc add
//		rgbGen vertex
//	}
//}

UNR_moss-hng
{
	surfaceparm nonsolid
	cull none
	{
		map textures/UNR_moss-hng
		blendFunc add
		rgbGen vertex
	}
}
//Added for 
UNR_moss2
{
	surfaceparm nonsolid
	cull none
	{
		map textures/UNR_moss2
		blendFunc add
		rgbGen vertex
	}
}

UNR_vScreen2
{
	surfaceparm nonsolid
	cull none
	{
		map textures/UNR_vScreen2
		blendFunc add
		rgbGen vertex
	}
}

//Glass
//UNR_Blakm_31
//{
//	surfaceparm trans
//	//surfaceparm nodraw
//	cull none
//	{
//		map textures/UNR_Blakm_31
//		blendFunc add
//		rgbGen vertex
//	}
//}

//Glass
UNR_Window
{
	surfaceparm trans
	//surfaceparm nodraw
	cull none
	{
		map textures/UNR_Window
		blendFunc add
		rgbGen vertex
	}
}

UNR_fence
{
	surfaceparm trans
	//surfaceparm nodraw
	cull none
	{
		map textures/UNR_fence
		blendFunc add
		rgbGen vertex
	}
}

UNR_wireee
{
	surfaceparm trans
	//surfaceparm nodraw
	cull none
	{
		map textures/UNR_wireee
		blendFunc add
		rgbGen vertex
	}
}

//UNR_wireee
//{
//	qer_editorimage textures/UNR_wireee.tga
//	surfaceparm nomarks
//	surfaceparm trans
//	surfaceparm alphashadow
//	cull none
//	nopicmip
//	nomipmaps
//	{
//		map textures/UNR_wireee.tga
//		//depthWrite
//		alphaFunc GT0
//		rgbgen vertex
//	}
//}


UNR_1
{
	surfaceparm trans
	//surfaceparm nodraw
	cull none
	{
		map textures/UNR_1
		blendFunc add
		rgbGen vertex
	}
}

UNR_fireesc
{
	surfaceparm trans
	//surfaceparm nodraw
	cull none
	{
		map textures/UNR_fireesc
		blendFunc add
		rgbGen vertex
		//tcMod turb 0 0.001 0.25 1
		//tcMod strech 0 0.01 0.5 1
	}
}

UNR_fireplace
{
	surfaceparm trans
	surfaceparm nonsolid
	//surfaceparm nodraw
	cull none
	{
		map textures/UNR_fireplace
		blendFunc add
		rgbGen vertex
		//tcMod turb 0 0.001 0.25 1
		//tcMod strech 0 0.01 0.5 1
	}
}

UNR_flames1
{
	surfaceparm trans
	//surfaceparm nodraw
	cull none
	{
		map textures/UNR_flames1
		blendFunc add
		rgbGen vertex
		//tcMod turb 0 0.001 0.25 1
		//tcMod strech 0 0.01 0.5 1
	}
}


UNR_chinese
{
	surfaceparm nonsolid
	cull none
	{
		map textures/UNR_chinese
		blendFunc add
		rgbGen vertex
		//tcMod turb 0 0.001 0.25 1
		//tcMod strech 0 0.01 0.5 1
	}
}


UNR_revenge
{
	surfaceparm nonsolid
	cull none
	{
		map textures/UNR_revenge
		blendFunc add
		rgbGen vertex
	}
}



UNR_SpaceBlood
{
	surfaceparm nonsolid
	cull none
	{
		map textures/UNR_SpaceBlood
		blendFunc add
		rgbGen vertex
	}
}



UNR_dgoop3
{
	surfaceparm nonsolid
	cull none
	{
		map textures/UNR_dgoop3
		blendFunc add
		rgbGen vertex
	}
}


UNR_liquid8
{
	surfaceparm nonsolid
	cull none
	{
		map textures/UNR_liquid8
		blendFunc add
		rgbGen vertex
	}
}







UNR_ancflame2
{
	surfaceparm trans
	//surfaceparm nodraw
	cull none
	{
		map textures/UNR_ancflame2
		blendFunc add
		rgbGen vertex
	}
}
UNR_ancflame4
{
	surfaceparm trans
	//surfaceparm nodraw
	cull none
	{
		map textures/UNR_ancflame4
		blendFunc add
		rgbGen vertex
	}
}

JTap1
{
	cull none
	//deformVertexes wave 50.0 sin 2 2 0.25 0.2
	{
		map textures/JTap1
	}
	{
		map $lightmap
		blendfunc filter
	}
}


UNR_flare7
{
	surfaceparm trans
	//surfaceparm nodraw
	cull none
	{
		map textures/UNR_flare7
		blendFunc add
		rgbGen vertex
	}
}

UNR_FLARE9
{
	surfaceparm trans
	//surfaceparm nodraw
	cull none
	{
		map textures/UNR_FLARE9
		blendFunc add
		rgbGen vertex
	}
}
UNR_FLARE10
{
	surfaceparm trans
	//surfaceparm nodraw
	cull none
	{
		map textures/UNR_FLARE10
		blendFunc add
		rgbGen vertex
	}
}
UNR_TORCHES2
{
	surfaceparm trans
	//surfaceparm nodraw
	cull none
	{
		map textures/UNR_TORCHES2
		blendFunc add
		rgbGen vertex
		//tcMod turb 0 0.001 0.25 1
		//tcMod strech 0 0.01 0.5 1
	}
}
UNR_TORCHES3
{
	surfaceparm trans
	//surfaceparm nodraw
	cull none
	{
		map textures/UNR_TORCHES3
		blendFunc add
		rgbGen vertex
		//tcMod turb 0 0.001 0.25 1
		//tcMod strech 0 0.01 0.5 1
	}
}
UNR_TORCHES4
{
	surfaceparm trans
	//surfaceparm nodraw
	cull none
	{
		map textures/UNR_TORCHES4
		blendFunc add
		rgbGen vertex
		//tcMod turb 0 0.001 0.25 1
		//tcMod strech 0 0.01 0.5 1
	}
}

UNR_liquid7__water
{
	surfaceparm nonsolid
	surfaceparm water
	//deformVertexes wave 150.0 sin 2 5 0.25 0.1
	//Q3map_TessSize 512
	cull none
	q3map_globaltexture
	{
		map textures/UNR_liquid7__water
		blendfunc filter
		tcMod turb 0 0.1 0.25 0.05
		tcMod strech 0 1 0.5 0.025
	}
	////{
	////	map $lightmap
	////}
}

UNR_glevag2__lava
{
	surfaceparm nonsolid
	surfaceparm lava
	deformVertexes wave 150.0 sin 2 5 0.25 0.1
	Q3map_TessSize 512
	cull none
	q3map_globaltexture
	{
		map textures/UNR_glevag2__lava
		//blendfunc filter
		tcMod turb 0 0.1 0.25 0.05
		tcMod strech 0 1 0.5 0.025
	}
	//{
	//	map $lightmap
	//}
}



UNR_LavaBEF_Translucent
{
	surfaceparm nonsolid
	surfaceparm lava
	deformVertexes wave 150.0 sin 2 5 0.25 0.1
	Q3map_TessSize 512
	cull none
	q3map_globaltexture
	{
		map textures/UNR_LavaBEF
		blendfunc filter
		//blendfunc add
		tcMod turb 0 0.1 0.25 0.05
		tcMod strech 0 1 0.5 0.025
	}
	//{
	//	map $lightmap
	//}
}

UNR_LavaBEF__lava
{
	surfaceparm nonsolid
	surfaceparm lava
	deformVertexes wave 150.0 sin 2 5 0.25 0.1
	Q3map_TessSize 512
	cull none
	q3map_globaltexture
	{
		map textures/UNR_LavaBEF
		////blendfunc filter
		tcMod turb 0 0.1 0.25 0.05
		tcMod strech 0 1 0.5 0.025
	}
	//{
	//	map $lightmap
	//}
}
UNR_LavaBEF //For ease
{
	surfaceparm nonsolid
	surfaceparm lava
	deformVertexes wave 150.0 sin 2 5 0.25 0.1
	Q3map_TessSize 512
	cull none
	q3map_globaltexture
	{
		map textures/UNR_LavaBEF
		////blendfunc filter
		tcMod turb 0 0.1 0.25 0.05
		tcMod strech 0 1 0.5 0.025
	}
	//{
	//	map $lightmap
	//}
}

//Changed:
//UNR_swindo2m
//{
//	surfaceparm trans
//	//surfaceparm nodraw
//	cull none
//	{
//		map textures/UNR_swindo2m
//		blendFunc add
//		rgbGen vertex
//	}
//} 
//Changed:
UNR_swindo2m
{
	surfaceparm nonsolid
	surfaceparm playerclip
	cull none
	{
		map textures/UNR_swindo2m__x
		blendFunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA
		alphaFunc GT0
		depthWrite
		rgbGen identity
	}
	{
		map $lightmap
		rgbGen identity
		blendFunc GL_DST_COLOR GL_ZERO
		depthFunc equal
	}
}

UNR_vines
{
	//surfaceparm nonsolid
	surfaceparm trans
	//surfaceparm nodraw
	cull none
	{
		map textures/UNR_vines
		blendFunc add
		rgbGen vertex
	}
}


UNR_moon-4
{
	//surfaceparm nonsolid
	surfaceparm trans
	//surfaceparm nodraw
	cull none
	{
		map textures/UNR_moon-4
		blendFunc add
		rgbGen vertex
	}
}

UNR_Glass2
{
	//surfaceparm nonsolid
	surfaceparm trans
	//surfaceparm nodraw
	cull none
	{
		map textures/UNR_Glass2
		blendFunc add
		rgbGen vertex
	}
	{
		map $lightmap
		rgbGen identity
		tcGen lightmap
		blendfunc filter
	}
}

UNR_Base6_PlayerClip
{
	//noclip
}


UNR_Goop3__slime
{
	surfaceparm nonsolid
	surfaceparm slime
	deformVertexes wave 150.0 sin 2 5 0.25 0.1
	Q3map_TessSize 512
	cull none
	//q3map_globaltexture
	{
		map textures/UNR_Goop3
		////blendfunc filter
		tcMod turb 0 0.1 0.25 0.05
		tcMod strech 0 1 0.5 0.025
	}
	{
		map $lightmap
	}
}


UNR_d_mgrd_glass
{
	//surfaceparm nonsolid
	surfaceparm trans
	//surfaceparm nodraw
	cull none
	{
		map textures/UNR_d_mgrd
		blendFunc add
		rgbGen vertex
	}
	//{
	//	map $lightmap
	//	rgbGen identity
	//	tcGen lightmap
	//	blendfunc filter
	//}
}





UNR_engine1
{
	surfaceparm nonsolid
	surfaceparm trans
	//surfaceparm nodraw
	cull none
	{
		map textures/UNR_engine1
		blendFunc add
		rgbGen vertex
		tcMod turb 0 0.1 0.25 10
		tcMod strech 0 0.1 0.5 5
	}
	{
		map $lightmap
		rgbGen identity
		tcGen lightmap
		blendfunc filter
	}
}
UNR_Lion4
{
	surfaceparm nonsolid
	surfaceparm trans
	//surfaceparm nodraw
	cull none
	{
		map textures/UNR_Lion4
		blendFunc add
		rgbGen vertex
		tcMod turb 0 2 0.25 10
		tcMod strech 0 2 0.5 5
	}
	{
		map $lightmap
		rgbGen identity
		tcGen lightmap
		blendfunc filter
	}
}
UNR_Lion4__lesscrazy
{
	surfaceparm nonsolid
	surfaceparm trans
	//surfaceparm nodraw
	cull none
	{
		map textures/UNR_Lion4
		blendFunc add
		rgbGen vertex
		tcMod turb 0 1.2 0.25 2
		tcMod strech 0 1.2 0.5 1
	}
	{
		map $lightmap
		rgbGen identity
		tcGen lightmap
		blendfunc filter
	}
}

UNR_Goop3__slime_translucent
{
	surfaceparm nonsolid
	surfaceparm slime
	deformVertexes wave 150.0 sin 2 5 0.25 0.1
	Q3map_TessSize 512
	cull none
	{
		map textures/UNR_Goop3
		blendFunc add
		rgbGen vertex
		tcMod turb 0 0.1 0.25 0.05
		tcMod strech 0 1 0.5 0.025
	}
	{
		map $lightmap
		rgbGen identity
		tcGen lightmap
		blendfunc filter
	}
}

UNR_wood1
{
	cull none
	{
		map textures/UNR_nalicastle_wood1
	}
	{
		map $lightmap
	}
}



UNR_mandarin
{
	surfaceparm nonsolid
	surfaceparm trans
	//surfaceparm nodraw
	cull none
	{
		map textures/UNR_mandarin
		blendFunc add
		rgbGen vertex
		tcMod turb 0 0.1 0.25 10
		tcMod strech 0 0.1 0.5 5
	}
	{
		map $lightmap
		rgbGen identity
		tcGen lightmap
		blendfunc filter
	}
}
UNR_energy4
{
	surfaceparm nonsolid
	surfaceparm trans
	//surfaceparm nodraw
	cull none
	{
		map textures/UNR_energy4
		blendFunc add
		rgbGen vertex
		tcMod turb 0 0.1 0.25 10
		tcMod strech 0 0.1 0.5 5
	}
	{
		map $lightmap
		rgbGen identity
		tcGen lightmap
		blendfunc filter
	}
}
UNR_liquid1
{
	surfaceparm nonsolid
	surfaceparm water
	//deformVertexes wave 150.0 sin 2 5 0.25 0.1
	//Q3map_TessSize 512
	cull none
	q3map_globaltexture
	{
		map textures/UNR_liquid1
		//blendfunc filter
		//blendfunc blend
		blendfunc add
		tcMod turb 0 0.1 0.25 0.05
		tcMod strech 0 1 0.5 0.025
	}
	////{
	////	map $lightmap
	////}
}

UNR_space-l2
{
	surfaceparm nonsolid
	surfaceparm trans
	//surfaceparm nodraw
	cull none
	{
		map textures/UNR_space-l2
		blendFunc add
		rgbGen vertex
		tcMod turb 0 0.1 0.25 10
		tcMod strech 0 0.1 0.5 5
	}
	{
		map $lightmap
		rgbGen identity
		tcGen lightmap
		blendfunc filter
	}
}
UNR_spac-l1
{
	surfaceparm nonsolid
	surfaceparm trans
	//surfaceparm nodraw
	cull none
	{
		map textures/UNR_spac-l1
		blendFunc add
		rgbGen vertex
		tcMod turb 0 0.1 0.25 10
		tcMod strech 0 0.1 0.5 5
	}
	{
		map $lightmap
		rgbGen identity
		tcGen lightmap
		blendfunc filter
	}
}




UNR_Lava1
{
	surfaceparm nonsolid
	surfaceparm lava
	deformVertexes wave 150.0 sin 2 5 0.25 0.1
	Q3map_TessSize 512
	cull none
	//q3map_globaltexture
	{
		map textures/UNR_Lava1
		//blendfunc filter
		tcMod turb 0 0.1 0.25 0.05
		tcMod strech 0 1 0.5 0.025
	}
	//{
	//	map $lightmap
	//}
}
UNR_Lava1_circle
{
	surfaceparm nonsolid
	surfaceparm lava
	deformVertexes roundwave 180 18 3 0 0 0 sin 2 10 0.5 0.2
	Q3map_TessSize 64
	cull none
	//q3map_globaltexture
	{
		map textures/UNR_Lava1
		//blendfunc filter
		tcMod turb 0 0.1 0.25 0.05
		tcMod strech 0 1 0.5 0.025
	}
	//{
	//	map $lightmap
	//}
}

UNR_SmallFireH2
{
	surfaceparm trans
	//surfaceparm nodraw
	cull none
	{
		map textures/UNR_SmallFireH2
		blendFunc add
		rgbGen vertex
		//tcMod turb 0 0.001 0.25 1
		//tcMod strech 0 0.01 0.5 1
	}
}



UNR_worm3g
{
	surfaceparm trans
	surfaceparm nonsolid
	cull none
	{
		map textures/UNR_worm3g
		blendFunc add
		rgbGen vertex
		tcMod turb 0 0.1 0.25 0.05
		tcMod strech 0 1 0.5 0.025
	}
}

UNR_Grate4
{
	surfaceparm metalsteps
	{
		map textures/UNR_Grate4
	}
	{
		map $lightmap
		rgbGen identity
		tcGen lightmap
		blendfunc filter
	}
}

UNR_liquid5
{
	surfaceparm nonsolid
	surfaceparm water
	//deformVertexes wave 150.0 sin 2 5 0.25 0.1
	//Q3map_TessSize 512
	cull none
	q3map_globaltexture
	{
		map textures/UNR_liquid5
		//blendfunc filter
		//blendfunc blend
		blendfunc add
		tcMod turb 0 0.1 0.25 0.05
		tcMod strech 0 1 0.5 0.025
	}
	////{
	////	map $lightmap
	////}
	{
		map $lightmap
		rgbGen identity
		tcGen lightmap
		blendfunc filter
	}
}


UNR_liquid2
{
	surfaceparm nonsolid
	surfaceparm water
	//deformVertexes wave 150.0 sin 2 5 0.25 0.1
	//Q3map_TessSize 512
	cull none
	q3map_globaltexture
	{
		map textures/UNR_liquid2
		//blendfunc filter
		//blendfunc blend
		blendfunc add
		tcMod turb 0 0.1 0.25 0.05
		tcMod strech 0 1 0.5 0.025
	}
	////{
	////	map $lightmap
	////}
	{
		map $lightmap
		rgbGen identity
		tcGen lightmap
		blendfunc filter
	}
}



//Copy Glass2 for shader, seemed good in other map
UNR_Glass
{
	//surfaceparm nonsolid
	surfaceparm trans
	//surfaceparm nodraw
	cull none
	{
		map textures/UNR_Glass
		blendFunc add
		rgbGen vertex
	}
	{
		map $lightmap
		rgbGen identity
		tcGen lightmap
		blendfunc filter
	}
}


UNR_Goopm
{
	surfaceparm nonsolid
	surfaceparm slime
	deformVertexes wave 150.0 sin 2 5 0.25 0.1
	Q3map_TessSize 512
	cull none
	{
		map textures/UNR_Goopm
		blendFunc add
		rgbGen vertex
		tcMod turb 0 0.1 0.25 0.05
		tcMod strech 0 1 0.5 0.025
	}
	{
		map $lightmap
		rgbGen identity
		tcGen lightmap
		blendfunc filter
	}
}

UNR_Mgooplg
{
	surfaceparm nonsolid
	surfaceparm slime
	deformVertexes wave 150.0 sin 2 5 0.25 0.1
	Q3map_TessSize 512
	cull none
	{
		map textures/UNR_Mgooplg
		blendFunc add
		rgbGen vertex
		tcMod turb 0 0.1 0.25 0.05
		tcMod strech 0 1 0.5 0.025
	}
	{
		map $lightmap
		rgbGen identity
		tcGen lightmap
		blendfunc filter
	}
}

UNR_pinkbunny
{
	surfaceparm nonsolid
	surfaceparm trans
	//surfaceparm nodraw
	cull none
	{
		map textures/UNR_pinkbunny
		blendFunc add
		rgbGen vertex
		tcMod turb 0 0.1 0.25 10
		tcMod strech 0 0.1 0.5 5
	}
	{
		map $lightmap
		rgbGen identity
		tcGen lightmap
		blendfunc filter
	}
}

UNR_pinkbunny__s // a more solid version that can be trace hit
{
	surfaceparm lava
	surfaceparm trans
	//surfaceparm nodraw
	cull none
	{
		map textures/UNR_pinkbunny
		blendFunc add
		rgbGen vertex
		tcMod turb 0 0.1 0.25 10
		tcMod strech 0 0.1 0.5 5
	}
	{
		map $lightmap
		rgbGen identity
		tcGen lightmap
		blendfunc filter
	}
}

UNR_Pulsehit
{
	surfaceparm nonsolid
	//surfaceparm trans
	surfaceparm slime //so collides with trace
	//surfaceparm nodraw
	cull none
	{
		map textures/UNR_Pulsehit
		blendFunc add
		rgbGen vertex
		tcMod turb 0 0.1 0.25 10
		tcMod strech 0 0.1 0.5 5
	}
	{
		map $lightmap
		rgbGen identity
		tcGen lightmap
		blendfunc filter
	}
}


//Copy Glass2 for shader, seemed good in other map
UNR_brickutmod2__window
{
	//surfaceparm nonsolid
	surfaceparm trans
	//surfaceparm nodraw
	cull none
	{
		map textures/UNR_brickutmod2
		blendFunc add
		rgbGen vertex
	}
	{
		map $lightmap
		rgbGen identity
		tcGen lightmap
		blendfunc filter
	}
}


UNR_NaziFlag
{
	qer_editorimage textures/crossbanner5pcolor
	deformVertexes wave 50.0 sin 2 2 0.25 0.2
	cull none
	{
		map textures/UNR_NaziFlag
	}
	{
		map $lightmap
		blendfunc filter
	}
}
UNR_NziFlg3
{
	qer_editorimage textures/crossbanner5pcolor
	deformVertexes wave 50.0 sin 2 2 0.25 0.2
	cull none
	{
		map textures/UNR_NziFlg3
	}
	{
		map $lightmap
		blendfunc filter
	}
}
UNR_nondetgr8
{
	surfaceparm nonsolid
	surfaceparm playerclip
	//cull none
	{
		map textures/UNR_nondetgr8__x
		blendFunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA
		alphaFunc GT0
		depthWrite
		rgbGen identity
	}
	{
		map $lightmap
		rgbGen identity
		blendFunc GL_DST_COLOR GL_ZERO
		depthFunc equal
	}
}
UNR_DavWire1
{
	surfaceparm nonsolid
	surfaceparm playerclip
	cull none
	{
		map textures/UNR_DavWire1__x
		blendFunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA
		alphaFunc GT0
		depthWrite
		rgbGen identity
	}
	{
		map $lightmap
		rgbGen identity
		blendFunc GL_DST_COLOR GL_ZERO
		depthFunc equal
	}
}

UNR_inxcrane
{
	surfaceparm nonsolid
	surfaceparm playerclip
	//cull none
	{
		map textures/UNR_inxcrane__x
		blendFunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA
		alphaFunc GT0
		depthWrite
		rgbGen identity
	}
	{
		map $lightmap
		rgbGen identity
		blendFunc GL_DST_COLOR GL_ZERO
		depthFunc equal
	}
}

UNR_SkylineA1
{
	surfaceparm nonsolid
	surfaceparm playerclip
	cull none
	{
		map textures/UNR_SkylineA1__x
		blendFunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA
		alphaFunc GT0
		depthWrite
		rgbGen identity
	}
	{
		map $lightmap
		rgbGen identity
		blendFunc GL_DST_COLOR GL_ZERO
		depthFunc equal
	}
}


UNR_SkylineA2
{
	surfaceparm nonsolid
	surfaceparm playerclip
	cull none
	{
		map textures/UNR_SkylineA2__x
		blendFunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA
		alphaFunc GT0
		depthWrite
		rgbGen identity
	}
	{
		map $lightmap
		rgbGen identity
		blendFunc GL_DST_COLOR GL_ZERO
		depthFunc equal
	}
}


UNR_WATER3
{
	surfaceparm nonsolid
	surfaceparm water
	deformVertexes wave 150.0 sin 2 5 0.25 0.1
	//Q3map_TessSize 512
	cull none
	q3map_globaltexture
	{
		map textures/UNR_WATER3
		//blendfunc filter
		//blendfunc blend
		blendfunc add
		tcMod turb 0 0.1 0.25 0.05
		tcMod strech 0 1 0.5 0.025
	}
	////{
	////	map $lightmap
	////}
	{
		map $lightmap
		rgbGen identity
		tcGen lightmap
		blendfunc filter
	}
}

UNR_Glassb
{
	//surfaceparm nonsolid
	surfaceparm trans
	//surfaceparm nodraw
	cull none
	{
		map textures/UNR_Glassb
		blendFunc add
		rgbGen vertex
	}
	{
		map $lightmap
		rgbGen identity
		tcGen lightmap
		blendfunc filter
	}
}


UNR_Glassb__filter
{
	//surfaceparm nonsolid
	surfaceparm trans
	//surfaceparm nodraw
	//cull none
	//{
	//	map textures/UNR_Glassb
	//	blendFunc filter
	//	//blendFunc blend
	//	rgbGen vertex
	//}
	//{
	//	map $lightmap
	//	rgbGen identity
	//	tcGen lightmap
	//	blendfunc filter
	//}
	//{
	//	map textures/caethaver2_deco/glasspane2_3.tga
	//	blendfunc blend
	//	rgbGen vertex
	//}
	
	{									
		map textures/UNR_Glassb	
		//blendFunc add		
		blendFunc filter					
	}									
	//{									
	//	//map textures/dorwinion_grass_side
	//	map textures/caethaver2_deco/glasspane2_3.tga						
	//	alphaGen vertex							
	//	blendFunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA			
	//}									
	////{									
	////	map textures/dorwinion_grass_side
	////	alphaGen vertex							
	////	blendFunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA			
	////}									
	{									
		map $lightmap							
		blendFunc GL_DST_COLOR GL_ZERO	
	}				
		
}

UNR_B4wood5__shade
{
	defaultcolormod 0.86 0 1
	{									
		map textures/UNR_B4wood5					
	}									
	{									
		//map textures/dorwinion_grass_side
		//map textures/caethaver2_deco/glasspane2_3.tga	
		map textures/caethaver2_deco/glasspane2_2.tga	
		//map textures/UNR_Crate-b.tga					
		alphaGen vertex							
		blendFunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA			
	}									
	{									
		map $lightmap							
		blendFunc GL_DST_COLOR GL_ZERO	
	}				
		
}

UNR_B4wood5__shade2
{
	defaultcolormod 0.86 0 1
	{									
		map textures/UNR_B4wood5					
	}									
	//{									
	//	//map textures/dorwinion_grass_side
	//	map textures/caethaver2_deco/glasspane2_3.tga						
	//	alphaGen vertex							
	//	blendFunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA			
	//}									
	{									
		map $lightmap							
		blendFunc GL_DST_COLOR GL_ZERO	
	}				
		
}
UNR_B4wood5__shadea
{
	//defaultcolormod "0.25 1 0"
	//defaultcolormod 1 0 0
	defaultcolormod 0 1 0
	defaultcolormod 0.26 1 0
	{									
		map textures/UNR_B4wood5					
	}									
	//{									
	//	//map textures/dorwinion_grass_side
	//	map textures/caethaver2_deco/glasspane2_3.tga						
	//	alphaGen vertex							
	//	blendFunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA			
	//}									
	{									
		map $lightmap							
		blendFunc GL_DST_COLOR GL_ZERO	
	}				
		
}


UNR_xfx1
{
	surfaceparm nonsolid
	surfaceparm slime //so collides
	//surfaceparm nodraw
	cull none
	{
		map textures/UNR_xfx1
		blendFunc add
		rgbGen vertex
		tcMod scroll 0.1 -0.5
	}
	{
		map $lightmap
		rgbGen identity
		tcGen lightmap
		blendfunc filter
	}
}

UNR_Agrdm
{
	surfaceparm nonsolid
	surfaceparm playerclip
	//cull none
	{
		map textures/UNR_Agrdm__x
		blendFunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA
		alphaFunc GT0
		depthWrite
		rgbGen identity
	}
	{
		map $lightmap
		rgbGen identity
		blendFunc GL_DST_COLOR GL_ZERO
		depthFunc equal
	}
}

UNR_SkylineA2__Bright
{
	{
		map textures/UNR_SkylineA2
	}
}

UNR_SkylineA1__Bright
{
	{
		map textures/UNR_SkylineA1
	}
}

UNR_Win-blue2__Bright
{
	{
		map textures/UNR_Win-blue2
	}
}
UNR_Win-gray__Bright
{
	{
		map textures/UNR_Win-gray
	}
}



UNR_hor1__Bright
{
	{
		map textures/UNR_hor1
	}
}

UNR_Win-gren__Bright
{
	{
		map textures/UNR_Win-gren
	}
}

UNR_SkylineAbtm__Bright
{
	{
		map textures/UNR_SkylineAbtm
	}
}

UNR_GreyTrim1__Bright
{
	{
		map textures/UNR_GreyTrim1
	}
}
UNR_Skyblu3__Bright
{	
	cull none
	{
		map textures/UNR_Skyblu3
		blendFunc add
		//rgbGen vertex
		tcMod scroll 0.01 0.01
	}
}
UNR_Skyblu__Bright
{
	{
		map textures/UNR_Skyblu
	}
}
UNR_Win-gren2__Bright
{
	{
		map textures/UNR_Win-gren2
	}
}
UNR_Red-lit2__Bright
{
	{
		map textures/UNR_Red-lit2
	}
}
UNR_Liandri__Bright
{
	{
		map textures/UNR_Liandri
	}
}
UNR_Sign-jap__Bright
{
	{
		map textures/UNR_Sign-jap
	}
}
UNR_NaziFlag__Bright
{
	{
		map textures/UNR_NaziFlag
	}
}
UNR_Logo-Eoic__Bright
{
	{
		map textures/UNR_Logo-Eoic
	}
}

UNR_SkylineA1__Bright2
{
	surfaceparm nonsolid
	surfaceparm playerclip
	cull none
	{
		map textures/UNR_SkylineA1__x
		blendFunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA
		alphaFunc GT0
		depthWrite
		rgbGen identity
	}
	{
		//map $lightmap
		//rgbGen identity
		//blendFunc GL_DST_COLOR GL_ZERO
		//depthFunc equal
	}
}


UNR_SkylineA2__Bright2
{
	surfaceparm nonsolid
	surfaceparm playerclip
	cull none
	{
		map textures/UNR_SkylineA2__x
		blendFunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA
		alphaFunc GT0
		depthWrite
		rgbGen identity
	}
	{
		//map $lightmap
		//rgbGen identity
		//blendFunc GL_DST_COLOR GL_ZERO
		//depthFunc equal
	}
}

UNR_Water
{
	surfaceparm nonsolid
	surfaceparm water
	deformVertexes wave 150.0 sin 2 5 0.25 0.1
	//Q3map_TessSize 512
	cull none
	q3map_globaltexture
	{
		map textures/UNR_liquid2 //same as UNR_Water
		//blendfunc filter
		//blendfunc blend
		blendfunc add
		tcMod turb 0 0.1 0.25 0.05
		tcMod strech 0 1 0.5 0.025
	}
	////{
	////	map $lightmap
	////}
	{
		map $lightmap
		rgbGen identity
		tcGen lightmap
		blendfunc filter
	}
}

UNR_grateMsk
{
	surfaceparm nonsolid
	surfaceparm playerclip
	//cull none
	{
		map textures/UNR_grateMsk__x
		blendFunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA
		alphaFunc GT0
		depthWrite
		rgbGen identity
	}
	{
		map $lightmap
		rgbGen identity
		blendFunc GL_DST_COLOR GL_ZERO
		depthFunc equal
	}
}


UNR_SpecGlas
{
	//surfaceparm nonsolid
	surfaceparm trans
	//surfaceparm nodraw
	cull none
	{
		map textures/UNR_SpecGlas
		blendFunc add
		rgbGen vertex
	}
	{
		map $lightmap
		rgbGen identity
		tcGen lightmap
		blendfunc filter
	}
}


UNR_Arturo~1
{
	surfaceparm nodraw
	surfaceparm nonsolid
	cull none
	{
		map textures/UNR_Arturo~1
		blendFunc add
		rgbGen vertex
	}
}

UNR_Ethels02
{
	surfaceparm nodraw
	surfaceparm nonsolid
	cull none
	{
		map textures/UNR_Ethels02
		blendFunc add
		rgbGen vertex
	}
}

UNR_Blade001
{
	surfaceparm nodraw
	surfaceparm nonsolid
	cull none
	{
		map textures/UNR_Blade001
		blendFunc add
		rgbGen vertex
	}
}
UNR_Glasse
{
	//surfaceparm nonsolid
	surfaceparm trans
	//surfaceparm nodraw
	cull none
	{
		map textures/UNR_Glasse
		blendFunc add
		rgbGen vertex
	}
	{
		map $lightmap
		rgbGen identity
		tcGen lightmap
		blendfunc filter
	}
}


UNR_Black__glass
{
	//surfaceparm nonsolid
	surfaceparm trans
	//surfaceparm nodraw
	cull none
	{
		map textures/UNR_Black
		blendFunc add
		rgbGen vertex
	}
	{
		map $lightmap
		rgbGen identity
		tcGen lightmap
		blendfunc filter
	}
}

//UNR_Grate3
//{
//	surfaceparm nonsolid
//	surfaceparm playerclip
//	//cull none
//	{
//		map textures/UNR_Grate3__x
//		blendFunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA
//		alphaFunc GT0
//		depthWrite
//		rgbGen identity
//	}
//	{
//		map $lightmap
//		rgbGen identity
//		blendFunc GL_DST_COLOR GL_ZERO
//		depthFunc equal
//	}
//}

UNR_Grid
{
	surfaceparm nonsolid
	surfaceparm playerclip
	//cull none
	{
		map textures/UNR_Grid__x
		blendFunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA
		alphaFunc GT0
		depthWrite
		rgbGen identity
	}
	{
		map $lightmap
		rgbGen identity
		blendFunc GL_DST_COLOR GL_ZERO
		depthFunc equal
	}
}
UNR_newneb1__diffuse
{
	surfaceparm nonsolid
	cull none
	{
		map textures/UNR_newneb1
		blendFunc add
		rgbGen vertex
	}
}

jlightbox
{
	surfaceparm nonsolid
	cull none
	{
		map textures/jlightbox
		blendFunc add
		rgbGen vertex
	}
}
Jlightcone11
{
	surfaceparm nonsolid
	cull none
	{
		map textures/Jlightcone11
		blendFunc add
		rgbGen vertex
	}
}

UNR_liquid10
{
	surfaceparm slime
	//deformVertexes wave 150.0 sin 2 5 0.25 0.1
	//Q3map_TessSize 512
	cull none
	q3map_globaltexture
	{
		map textures/UNR_liquid10
		blendfunc add
		tcMod turb 0 0.1 0.25 0.05
		tcMod strech 0 1 0.5 0.025
	}
	{
		map $lightmap
		rgbGen identity
		tcGen lightmap
		blendfunc filter
	}
}

UNR_Firewheel
{
	surfaceparm trans
	surfaceparm nonsolid
	cull none
	{
		map textures/UNR_Firewheel
		blendFunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA
		alphaFunc GT0
		depthWrite
		rgbGen identity
		//tcMod rotate 20
		tcMod turb 1 0.01 0.2 0.2
	}
	{
		map $lightmap
		rgbGen identity
		blendFunc GL_DST_COLOR GL_ZERO
		depthFunc equal
	}
}

UNR_Pad_FX
{
	surfaceparm trans
	surfaceparm nonsolid
	cull none
	{
		map textures/UNR_Pad_FX
		blendFunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA
		alphaFunc GT0
		depthWrite
		rgbGen identity
		//tcMod rotate 20
		tcMod turb 1 0.01 0.2 0.2
	}
	{
		map $lightmap
		rgbGen identity
		blendFunc GL_DST_COLOR GL_ZERO
		depthFunc equal
	}
}

UNR_davBoom1
{
	surfaceparm nonsolid
	cull none
	{
		map textures/UNR_davBoom1
		blendFunc add
		rgbGen vertex
	}
}


UNR_T-Grate2
{
	surfaceparm nonsolid
	surfaceparm playerclip
	//cull none
	{
		map textures/UNR_T-Grate2__x
		blendFunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA
		alphaFunc GT0
		depthWrite
		rgbGen identity
	}
	{
		map $lightmap
		rgbGen identity
		blendFunc GL_DST_COLOR GL_ZERO
		depthFunc equal
	}
}


UNR_portalinvis__s // a more solid version that can be trace hit
{
	surfaceparm lava
	surfaceparm trans
	surfaceparm nodraw
}

UNR_SmallFireH3
{
	surfaceparm nonsolid
	cull none
	{
		map textures/UNR_SmallFireH3
		blendFunc add
		rgbGen vertex
		//tcMod turb 0 0.001 0.25 1
		//tcMod strech 0 0.01 0.5 1
	}
}


//Zeto
UNR_frostgl1
{
	//surfaceparm nonsolid
	surfaceparm trans
	//surfaceparm nodraw
	cull none
	{
		map textures/UNR_frostgl1
		blendFunc add
		rgbGen vertex
	}
	{
		map $lightmap
		rgbGen identity
		tcGen lightmap
		blendfunc filter
	}
}

UNR_Snow_1
{
	surfaceparm nonsolid
	surfaceparm playerclip
	cull none
	{
		map textures/UNR_Snow_1
		//blendFunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA
		//alphaFunc GT0
		blendFunc add
		depthWrite
		rgbGen identity
		tcMod scroll 0 1
	}
	{
		map $lightmap
		rgbGen identity
		//blendFunc GL_DST_COLOR GL_ZERO
		blendfunc filter
		//depthFunc equal
	}
}

UNR_inxmars4__Bright
{
	{
		map textures/UNR_inxmars4
	}
}
UNR_inxmars3__Bright
{
	{
		map textures/UNR_inxmars3
	}
}
UNR_inxmars2__Bright
{
	{
		map textures/UNR_inxmars2
	}
}
UNR_inxmars1__Bright
{
	{
		map textures/UNR_inxmars1
	}
}
UNR_inxmars0__Bright
{
	cull none
	{
		map textures/UNR_inxmars0
	}
}
UNR_flare4__Bright
{
	{
		map textures/UNR_flare4
	}
}
UNR_5__Bright
{
	{
		map textures/UNR_5
	}
}
UNR_flare7__Bright
{
	{
		map textures/UNR_flare7
	}
}
UNR_Nebula1__Bright
{
	{
		map textures/UNR_Nebula1
	}
}
UNR_new2__Bright
{
	{
		map textures/UNR_new2
	}
}
UNR_haze2__Bright
{
	{
		map textures/UNR_haze2
	}
}
UNR_Nebula2__Bright
{
	{
		map textures/UNR_Nebula2
	}
}
UNR_NghSky3__Bright
{
	{
		map textures/UNR_NghSky3
	}
}
UNR_sMarblbs__Bright
{
	{
		map textures/UNR_sMarblbs
	}
}

UNR_black__Bright
{	//might be useful
	{
		map textures/black
	}
}




UNR_inoxPip3.tga
{
	surfaceparm nonsolid
	surfaceparm playerclip
	cull none
	{
		map textures/UNR_inoxPip3
		blendFunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA
		alphaFunc GT0
		depthWrite
		rgbGen identity
	}
	{
		map $lightmap
		rgbGen identity
		blendFunc GL_DST_COLOR GL_ZERO
		//depthFunc equal
	}
}

UNR_inoxPip51.tga
{
	surfaceparm nonsolid
	surfaceparm playerclip
	cull none
	{
		map textures/UNR_inoxPip51
		blendFunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA
		alphaFunc GT0
		depthWrite
		rgbGen identity
	}
	{
		map $lightmap
		rgbGen identity
		blendFunc GL_DST_COLOR GL_ZERO
		//depthFunc equal
	}
}


UNR_C_chnm2
{
	surfaceparm nonsolid
	surfaceparm playerclip
	cull none
	{
		map textures/UNR_C_chnm2__x
		blendFunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA
		alphaFunc GT0
		depthWrite
		rgbGen identity
	}
	{
		map $lightmap
		rgbGen identity
		blendFunc GL_DST_COLOR GL_ZERO
		depthFunc equal
	}
}



UNR_PaveBase__Bright
{
	{
		map textures/UNR_PaveBase
	}
}
UNR_SkyBPyramidTop__Bright
{
	{
		map textures/UNR_SkyBPyramidTop
	}
}
UNR_SkyBPyramid3__Bright
{
	{
		map textures/UNR_SkyBPyramid3
	}
}
UNR_SkyBPyramid5__Bright
{
	{
		map textures/UNR_SkyBPyramid5
	}
}
UNR_SkyBPyramid8__Bright
{
	{
		map textures/UNR_SkyBPyramid8
	}
}
UNR_Paver1__Bright
{
	{
		map textures/UNR_Paver1
	}
}
UNR_SkyBPyramid6__Bright
{
	{
		map textures/UNR_SkyBPyramid6
	}
}
UNR_SkyBPyramid7__Bright
{
	{
		map textures/UNR_SkyBPyramid7
	}
}
UNR_SkyBPyramid1__Bright
{
	{
		map textures/UNR_SkyBPyramid1
	}
}
UNR_SkyBPyramid4__Bright
{
	{
		map textures/UNR_SkyBPyramid4
	}
}
UNR_SkyBPyramid2__Bright
{
	{
		map textures/UNR_SkyBPyramid2
	}
}


UNR_TwoFigures1__glass
{
	//surfaceparm nonsolid
	surfaceparm trans
	//surfaceparm nodraw
	cull none
	{
		map textures/UNR_TwoFigures1
		blendFunc add
		//blendFunc filter
		//blendFunc blend
		rgbGen vertex
	}
	//{
	//	map $lightmap
	//	rgbGen identity
	//	tcGen lightmap
	//	blendfunc filter
	//}
}

UNR_Heiroglyphs1__glass
{
	//surfaceparm nonsolid
	surfaceparm trans
	//surfaceparm nodraw
	cull none
	{
		map textures/UNR_Heiroglyphs1
		blendFunc add
		//blendFunc filter
		//blendFunc blend
		rgbGen vertex
	}
	//{
	//	map $lightmap
	//	rgbGen identity
	//	tcGen lightmap
	//	blendfunc filter
	//}
}

UNR_earth__Bright
{
	{
		map textures/UNR_earth
	}
}
UNR_moon-5__Bright
{
	{
		map textures/UNR_moon-5
	}
}
UNR_newneb1__Bright
{
	{
		map textures/UNR_newneb1
		blendFunc add
		rgbGen vertex
	}
}
UNR_horizon50__Bright
{
	{
		map textures/UNR_horizon50
	}
}
UNR_NghSky__Bright
{
	{
		map textures/UNR_NghSky
	}
}



UNR_NghSky__nodraw_slime
{
	surfaceparm nonsolid
	surfaceparm slime //so collides
	surfaceparm nodraw
	cull none
}



UNR_WAT-S
{
	surfaceparm nonsolid
	surfaceparm water
	deformVertexes wave 150.0 sin 2 5 0.25 0.1
	//Q3map_TessSize 512
	cull none
	q3map_globaltexture
	{
		map textures/UNR_WAT-S
		//blendfunc filter
		//blendfunc blend
		blendfunc add
		tcMod turb 0 0.1 0.25 0.05
		tcMod strech 0 1 0.5 0.025
	}
	////{
	////	map $lightmap
	////}
	{
		map $lightmap
		rgbGen identity
		tcGen lightmap
		blendfunc filter
	}
}
UNR_Water1
{
	surfaceparm nonsolid
	surfaceparm water
	deformVertexes wave 150.0 sin 2 5 0.25 0.1
	//Q3map_TessSize 512
	cull none
	q3map_globaltexture
	{
		map textures/UNR_Water1
		//blendfunc filter
		//blendfunc blend
		blendfunc add
		tcMod turb 0 0.1 0.25 0.05
		tcMod strech 0 1 0.5 0.025
	}
	////{
	////	map $lightmap
	////}
	{
		map $lightmap
		rgbGen identity
		tcGen lightmap
		blendfunc filter
	}
}

UNR_water2__sky
{
	surfaceparm nomarks
	surfaceparm noimpact
	{
		//map textures/UNR_water2
		map textures/UNR_water2__sky
	}
}


//Substitution 
//wood2 is usually the nalicastle one it seems
UNR_wood2
{
	cull none
	{
		map textures/UNR_nalicastle_wood2
	}
	{
		map $lightmap
	}
}

//If you wish to use //grey
UNR_default_wood2
{
	cull none
	{
		map textures/UNR_wood2
	}
	{
		map $lightmap
	}
}
UNR_default_wood1
{
	cull none
	{
		map textures/UNR_wood1
	}
	{
		map $lightmap
	}
}
//If you wish to use //grey


UNR_WAT-S_circle
{
	surfaceparm nonsolid
	surfaceparm water
	deformVertexes roundwave 180 18 3 0 0 0 sin 2 10 0.5 0.2
	//Q3map_TessSize 64
	cull none
	q3map_globaltexture
	{
		map textures/UNR_WAT-S
		//blendfunc filter
		//blendfunc blend
		blendfunc add
		tcMod turb 0 0.1 0.25 0.05
		tcMod strech 0 1 0.5 0.025
	}
	////{
	////	map $lightmap
	////}
	{
		map $lightmap
		rgbGen identity
		tcGen lightmap
		blendfunc filter
	}
}


FireEffect28a
{
	surfaceparm nonsolid
	cull none
	{
		map textures/FireEffect28a
		blendFunc add
		rgbGen vertex
		//tcMod turb 0 0.001 0.25 1
		//tcMod strech 0 0.01 0.5 1
	}
}
fireeffect28
{
	surfaceparm nonsolid
	cull none
	{
		map textures/fireeffect28
		blendFunc add
		rgbGen vertex
		//tcMod turb 0 0.001 0.25 1
		//tcMod strech 0 0.01 0.5 1
	}
}








UNR_water2
{
	surfaceparm nonsolid
	surfaceparm water
	deformVertexes wave 150.0 sin 2 5 0.25 0.1
	//Q3map_TessSize 512
	cull none
	q3map_globaltexture
	{
		map textures/UNR_water2
		//blendfunc filter
		//blendfunc blend
		blendfunc add
		//tcMod turb 0 0.1 0.25 0.05
		//tcMod strech 0 1 0.5 0.025
	}
	////{
	////	map $lightmap
	////}
	{
		map $lightmap
		rgbGen identity
		tcGen lightmap
		blendfunc filter
	}
}
UNR_moon-3__Bright
{
	{
		map textures/UNR_moon-3
	}
}
UNR_3g__Bright
{
	{
		map textures/UNR_3g
	}
}
UNR_3c__Bright
{
	{
		map textures/UNR_3c
	}
}
UNR_Glassg
{
	//surfaceparm nonsolid
	surfaceparm trans
	//surfaceparm nodraw
	cull none
	{
		map textures/UNR_Glassg
		blendFunc add
		rgbGen vertex
	}
	{
		map $lightmap
		rgbGen identity
		tcGen lightmap
		blendfunc filter
	}
}
UNR_gls_lb
{
	//surfaceparm nonsolid
	surfaceparm trans
	//surfaceparm nodraw
	cull none
	{
		map textures/UNR_gls_lb
		blendFunc add
		rgbGen vertex
	}
	{
		map $lightmap
		rgbGen identity
		tcGen lightmap
		blendfunc filter
	}
}

UNR_Black__glass
{
	//surfaceparm nonsolid
	surfaceparm trans
	//surfaceparm nodraw
	cull none
	{
		map textures/UNR_Black
		blendFunc add
		rgbGen vertex
	}
	{
		map $lightmap
		rgbGen identity
		tcGen lightmap
		blendfunc filter
	}
}

UNR_dmesh3m__grate
{
	surfaceparm nonsolid
	surfaceparm playerclip
	//cull none
	{
		map textures/UNR_dmesh3m__x
		blendFunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA
		alphaFunc GT0
		depthWrite
		rgbGen identity
	}
	{
		map $lightmap
		rgbGen identity
		blendFunc GL_DST_COLOR GL_ZERO
		depthFunc equal
	}
}

UNR_ShanConc01__invis
{
	surfaceparm nonsolid
	surfaceparm water
	//deformVertexes wave 150.0 sin 2 5 0.25 0.1
	//Q3map_TessSize 512
	cull none
}




//For interspacestation
UNR_elextropink
{
	surfaceparm nonsolid
	surfaceparm trans
	//surfaceparm nodraw
	cull none
	{
		map textures/UNR_elextropink
		blendFunc add
		rgbGen vertex
		tcMod turb 0 0.1 0.25 10
		tcMod strech 0 0.1 0.5 5
	}
	{
		map $lightmap
		rgbGen identity
		tcGen lightmap
		blendfunc filter
	}
}

UNR_elextropink__s // a more solid version that can be trace hit
{
	surfaceparm lava
	surfaceparm trans
	//surfaceparm nodraw
	cull none
	{
		map textures/UNR_elextropink
		blendFunc add
		rgbGen vertex
		tcMod turb 0 0.1 0.25 10
		tcMod strech 0 0.1 0.5 5
	}
	{
		map $lightmap
		rgbGen identity
		tcGen lightmap
		blendfunc filter
	}
}

UNR_SpecGlas2
{
	//surfaceparm nonsolid
	surfaceparm trans
	//surfaceparm nodraw
	cull none
	{
		map textures/UNR_SpecGlas2
		blendFunc add
		rgbGen vertex
	}
	{
		map $lightmap
		rgbGen identity
		tcGen lightmap
		blendfunc filter
	}
}

UNR_dlaser2c__t
{
	surfaceparm nonsolid
	surfaceparm trans
	//surfaceparm nodraw
	cull none
	{
		map textures/UNR_dlaser2c
		blendFunc add
		rgbGen vertex
		//tcMod turb 0 0.1 0.25 10
		//tcMod strech 0 0.1 0.5 5
	}
	{
		map $lightmap
		rgbGen identity
		tcGen lightmap
		blendfunc filter
	}
}

UNR_sh_grd4__x
{
	surfaceparm nonsolid
	surfaceparm playerclip
	//cull none
	{
		map textures/UNR_sh_grd4__x
		blendFunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA
		alphaFunc GT0
		depthWrite
		rgbGen identity
	}
	{
		map $lightmap
		rgbGen identity
		blendFunc GL_DST_COLOR GL_ZERO
		depthFunc equal
	}
}


UNR_Apnlx4__glow
{
	surfaceparm trans
	//surfaceparm nodraw
	cull none
	{
		map textures/UNR_Apnlx4
		blendFunc add
		rgbGen vertex
	}
}



//KGalleon
UNR_rBedHang
{
	surfaceparm nonsolid
	surfaceparm playerclip
	//cull none
	{
		map textures/UNR_rBedHang__x
		blendFunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA
		alphaFunc GT0
		depthWrite
		rgbGen identity
	}
	{
		map $lightmap
		rgbGen identity
		blendFunc GL_DST_COLOR GL_ZERO
		depthFunc equal
	}
}
UNR_LeadW1
{
	surfaceparm nonsolid
	surfaceparm playerclip
	//cull none
	{
		map textures/UNR_LeadW1__x
		blendFunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA
		alphaFunc GT0
		depthWrite
		rgbGen identity
	}
	{
		map $lightmap
		rgbGen identity
		blendFunc GL_DST_COLOR GL_ZERO
		depthFunc equal
	}
}
UNR_RopeWk2a
{
	surfaceparm nonsolid
	surfaceparm playerclip
	//cull none
	{
		map textures/UNR_RopeWk2a__x
		blendFunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA
		alphaFunc GT0
		depthWrite
		rgbGen identity
	}
	{
		map $lightmap
		rgbGen identity
		blendFunc GL_DST_COLOR GL_ZERO
		depthFunc equal
	}
}

UNR_skySetC_up__Bright
{
	{
		map textures/UNR_skySetC_up
	}
}

UNR_skySetC_left__Bright
{
	{
		map textures/UNR_skySetC_left
	}
}

UNR_skySetC_right__Bright
{
	{
		map textures/UNR_skySetC_right
	}
}


UNR_skySetC_front__Bright
{
	{
		map textures/UNR_skySetC_front
	}
}

UNR_skySetC_back__Bright
{
	{
		map textures/UNR_skySetC_back
	}
}


UNR_Sail1a
{
	cull none
	{
		map textures/UNR_Sail1a
	}
	{
		map $lightmap
	}
}
UNR_Sail1
{
	cull none
	{
		map textures/UNR_Sail1
	}
	{
		map $lightmap
	}
}




//Fractal
UNR_DavOpen__glow
{
	surfaceparm trans
	//surfaceparm nodraw
	cull none
	{
		map textures/UNR_DavOpen
		blendFunc add
		rgbGen vertex
	}
}

UNR_JWSFX1
{
	surfaceparm nonsolid
	//surfaceparm playerclip
	cull none
	{
		map textures/UNR_JWSFX1
		//blendFunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA
		//alphaFunc GT0
		blendFunc add
		depthWrite
		rgbGen identity
		tcMod scroll 0 1
	}
	{
		map $lightmap
		rgbGen identity
		//blendFunc GL_DST_COLOR GL_ZERO
		blendfunc filter
		//depthFunc equal
	}
}

//Gothic
UNR_Skyblu__BrightScroll
{	
	cull none
	{
		map textures/UNR_Skyblu
		blendFunc add
		//rgbGen vertex
		tcMod scroll 0.01 0.01
	}
}
UNR_SMoon__BrightAdd
{	
	cull none
	{
		map textures/UNR_SMoon
		blendFunc add
	}
}
//StalwartXL
UNR_Glassc
{
	//surfaceparm nonsolid
	surfaceparm trans
	//surfaceparm nodraw
	cull none
	{
		map textures/UNR_Glassc
		blendFunc add
		rgbGen vertex
	}
	{
		map $lightmap
		rgbGen identity
		tcGen lightmap
		blendfunc filter
	}
}

//Hyperblast
UNR_EngineEx
{
	surfaceparm nonsolid
	//surfaceparm playerclip
	cull none
	{
		map textures/UNR_EngineEx
		//blendFunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA
		//alphaFunc GT0
		blendFunc add
		depthWrite
		rgbGen identity
		//tcMod scroll 0 1
		tcMod turb 0 0.001 0.25 1
		tcMod strech 0 0.01 0.5 1
	}
	{
		map $lightmap
		rgbGen identity
		//blendFunc GL_DST_COLOR GL_ZERO
		blendfunc filter
		//depthFunc equal
	}
}


UNR_STARSBG_ScrollHyper
{
	defaultcolormod 0 0.5 1
	surfaceparm nonsolid
	//surfaceparm playerclip
	deformVertexes dualfocicloseexternalwave 180 9 3 0 180 0 sin 2 30 0 0.2 -200 -200 0
	cull none
	{
		map textures/UNR_STARSBG
		//blendFunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA
		//alphaFunc GT0
		blendFunc add
		depthWrite
		rgbGen identity
		tcMod scroll 0 10
		tcMod turb 0 0.001 0.25 1
		tcMod strech 0 0.01 0.5 1
	}
	//{
	//	map $lightmap
	//	rgbGen identity
	//	//blendFunc GL_DST_COLOR GL_ZERO
	//	blendfunc filter
	//	//depthFunc equal
	//}
}


//Oblivion

UNR_NghSky_ScrollHyper
{
	defaultcolormod 1 0 0.2
	surfaceparm nonsolid
	//surfaceparm playerclip
	deformVertexes dualfocicloseexternalwave 180 9 3 0 180 0 sin 2 30 0 0.2 -200 -200 0
	cull none
	{
		map textures/UNR_NghSky
		//blendFunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA
		//alphaFunc GT0
		blendFunc add
		depthWrite
		rgbGen identity
		tcMod scroll 0 10
		tcMod turb 0 0.001 0.25 1
		tcMod strech 0 0.01 0.5 1
	}
	//{
	//	map $lightmap
	//	rgbGen identity
	//	//blendFunc GL_DST_COLOR GL_ZERO
	//	blendfunc filter
	//	//depthFunc equal
	//}
}
UNR_Flarel~6__Bright
{
	{
		map textures/UNR_Flarel~6
	}
}

//Codex

UNR_liquid9
{
	surfaceparm nonsolid
	surfaceparm water
	deformVertexes wave 150.0 sin 2 5 0.25 0.1
	//Q3map_TessSize 512
	cull none
	q3map_globaltexture
	{
		map textures/UNR_liquid9
		//blendfunc filter
		//blendfunc blend
		blendfunc add
		//tcMod turb 0 0.1 0.25 0.05
		//tcMod strech 0 1 0.5 0.025
	}
	////{
	////	map $lightmap
	////}
	{
		map $lightmap
		rgbGen identity
		tcGen lightmap
		blendfunc filter
	}
}


//tempest

UNR_STARS__Bright
{
	{
		map textures/UNR_STARS
	}
}
UNR_moon-2__BrightAdd
{	
	cull none
	{
		map textures/UNR_moon-2
		blendFunc add
	}
}

UNR_SkytstA__Bright
{
	{
		map textures/UNR_SkytstA
	}
}

UNR_Lnd2_4__Bright
{
	{
		map textures/UNR_Lnd2_4
	}
}

UNR_Lnd2_2__Bright
{
	{
		map textures/UNR_Lnd2_2
	}
}

UNR_Lnd2_3__Bright
{
	{
		map textures/UNR_Lnd2_3
	}
}

UNR_Lnd2_1__Bright
{
	{
		map textures/UNR_Lnd2_1
	}
}

UNR_Lnd2_1b__Bright
{
	{
		map textures/UNR_Lnd2_1b
	}
}
UNR_Dbottm__Bright
{
	{
		map textures/UNR_Dbottm
	}
}
UNR_grd__Bright
{
	{
		map textures/UNR_grd
	}
}

//landri

UNR_Lava_AW__Bright
{
	{
		map textures/UNR_Lava_AW
		tcMod turb 0 0.1 0.25 0.05
		tcMod strech 0 1 0.5 0.025
	}
}

//tempest

UNR_Glassa
{
	//surfaceparm nonsolid
	surfaceparm trans
	//surfaceparm nodraw
	cull none
	{
		map textures/UNR_Glassa
		blendFunc add
		rgbGen vertex
	}
	{
		map $lightmap
		rgbGen identity
		tcGen lightmap
		blendfunc filter
	}
}






//tundra
UNR_1New__Bright
{
	surfaceparm nonsolid
	surfaceparm playerclip
	cull none
	{
		map textures/UNR_1New__x
		blendFunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA
		alphaFunc GT0
		depthWrite
		rgbGen identity
	}
	{
		//map $lightmap
		//rgbGen identity
		//blendFunc GL_DST_COLOR GL_ZERO
		//depthFunc equal
	}
}
UNR_2New__Bright
{
	surfaceparm nonsolid
	surfaceparm playerclip
	cull none
	{
		map textures/UNR_2New__x
		blendFunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA
		alphaFunc GT0
		depthWrite
		rgbGen identity
	}
	{
		//map $lightmap
		//rgbGen identity
		//blendFunc GL_DST_COLOR GL_ZERO
		//depthFunc equal
	}
}
UNR_1New__BrightSolid
{
	cull none
	{
		map textures/UNR_1New
	}
}
UNR_2New__BrightSolid
{
	cull none
	{
		map textures/UNR_2New
	}
}

UNR_Ptp3__Bright
{
	{
		map textures/UNR_Ptp3
	}
}
UNR_NCld__Bright
{
	{
		map textures/UNR_NCld
	}
}


UNR_moon__BrightAdd
{	
	cull none
	{
		clampMap textures/UNR_Moon
		blendFunc add
	}
}

UNR_Snow_1__Bright
{
	surfaceparm nonsolid
	surfaceparm playerclip
	cull none
	{
		map textures/UNR_Snow_1
		//blendFunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA
		//alphaFunc GT0
		blendFunc add
		depthWrite
		rgbGen identity
		tcMod scroll 0 1
	}
}

UNR_Ptp__Bright
{
	{
		map textures/UNR_Ptp
	}
}



UNR_Grate1-m
{
	surfaceparm nonsolid
	surfaceparm playerclip
	//cull none
	{
		map textures/UNR_Grate1-m__x
		blendFunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA
		alphaFunc GT0
		depthWrite
		rgbGen identity
	}
	{
		map $lightmap
		rgbGen identity
		blendFunc GL_DST_COLOR GL_ZERO
		depthFunc equal
	}
}
UNR_ShpNet1
{
	surfaceparm nonsolid
	surfaceparm playerclip
	//cull none
	{
		map textures/UNR_ShpNet1__x
		blendFunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA
		alphaFunc GT0
		depthWrite
		rgbGen identity
	}
	{
		map $lightmap
		rgbGen identity
		blendFunc GL_DST_COLOR GL_ZERO
		depthFunc equal
	}
}
UNR_shlava4s
{
	surfaceparm nonsolid
	surfaceparm lava
	deformVertexes wave 150.0 sin 2 5 0.25 0.1
	Q3map_TessSize 512
	cull none
	q3map_globaltexture
	{
		map textures/UNR_shlava4s
		//blendfunc filter
		tcMod turb 0 0.1 0.25 0.05
		tcMod strech 0 1 0.5 0.025
	}
	//{
	//	map $lightmap
	//}
}
UNR_Lava3
{
	surfaceparm nonsolid
	surfaceparm lava
	deformVertexes wave 150.0 sin 2 5 0.25 0.1
	Q3map_TessSize 512
	cull none
	q3map_globaltexture
	{
		map textures/UNR_Lava3
		//blendfunc filter
		tcMod turb 0 0.1 0.25 0.05
		tcMod strech 0 1 0.5 0.025
	}
	//{
	//	map $lightmap
	//}
}

UNR_Icer3
{
	 surfaceparm slick
	{
		map textures/UNR_Icer3
	}
	{
		map $lightmap
	}
}

UNR_swindo2m__Doublesided
{
	surfaceparm nonsolid
	surfaceparm playerclip
	cull none
	{
		map textures/UNR_swindo2m__x
		blendFunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA
		alphaFunc GT0
		depthWrite
		rgbGen identity
	}
	{
		map $lightmap
		rgbGen identity
		blendFunc GL_DST_COLOR GL_ZERO
		depthFunc equal
	}
}

UNR_FLARE10__BrightSolid
{
	surfaceparm trans
	//surfaceparm nodraw
	cull none
	{
		map textures/UNR_FLARE10
	}
}

UNR_NCld__BrightScroll
{	
	cull none
	{
		map textures/UNR_NCld
		blendFunc add
		//rgbGen vertex
		tcMod scroll 0.01 0.01
	}
}
//holycrypt
UNR_lava5
{
	surfaceparm nonsolid
	surfaceparm lava
	deformVertexes wave 150.0 sin 2 5 0.25 0.1
	Q3map_TessSize 512
	cull none
	q3map_globaltexture
	{
		map textures/UNR_lava5
		//blendfunc filter
		tcMod turb 0 0.1 0.25 0.05
		tcMod strech 0 1 0.5 0.025
	}
	//{
	//	map $lightmap
	//}
}

UNR_cob-web2
{
	surfaceparm nonsolid
	cull none
	{
		map textures/UNR_cob-web2__x
		blendFunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA
		alphaFunc GT0
		depthWrite
		rgbGen identity
	}
	{
		map $lightmap
		rgbGen identity
		blendFunc GL_DST_COLOR GL_ZERO
		depthFunc equal
	}
}
//holy crypt added
UNR_liquid4
{
	surfaceparm nonsolid
	surfaceparm water
	deformVertexes wave 150.0 sin 2 5 0.25 0.1
	//Q3map_TessSize 512
	cull none
	q3map_globaltexture
	{
		map textures/UNR_liquid4
		//blendfunc filter
		//blendfunc blend
		blendfunc add
		//tcMod turb 0 0.1 0.25 0.05
		//tcMod strech 0 1 0.5 0.025
	}
	////{
	////	map $lightmap
	////}
	{
		map $lightmap
		rgbGen identity
		tcGen lightmap
		blendfunc filter
	}
}

//grinder

UNR_rClifWn1
{
	//surfaceparm nonsolid
	surfaceparm trans
	//surfaceparm nodraw
	cull none
	{
		map textures/UNR_rClifWn1
		blendFunc add
		rgbGen vertex
	}
	{
		map $lightmap
		rgbGen identity
		tcGen lightmap
		blendfunc filter
	}
}
UNR_ClifBrk3x2__special
{
	//surfaceparm nonsolid
	surfaceparm trans
	//surfaceparm nodraw
	cull none
	{
		map textures/UNR_ClifBrk3x2
		blendFunc add
		rgbGen vertex
	}
	{
		map $lightmap
		rgbGen identity
		tcGen lightmap
		blendfunc filter
	}
}
UNR_mgr8ms3
{
	surfaceparm nonsolid
	surfaceparm playerclip
	cull none
	{
		map textures/UNR_mgr8ms3__x
		blendFunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA
		alphaFunc GT0
		depthWrite
		rgbGen identity
	}
	{
		map $lightmap
		rgbGen identity
		blendFunc GL_DST_COLOR GL_ZERO
		depthFunc equal
	}
}
UNR_mgr8ms4
{
	surfaceparm nonsolid
	surfaceparm playerclip
	cull none
	{
		map textures/UNR_mgr8ms4__x
		blendFunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA
		alphaFunc GT0
		depthWrite
		rgbGen identity
	}
	{
		map $lightmap
		rgbGen identity
		blendFunc GL_DST_COLOR GL_ZERO
		depthFunc equal
	}
}

UNR_Lava2a
{
	surfaceparm nonsolid
	surfaceparm lava
	deformVertexes wave 150.0 sin 2 5 0.25 0.1
	Q3map_TessSize 512
	cull none
	q3map_globaltexture
	{
		map textures/UNR_Lava2a
		//blendfunc filter
		tcMod turb 0 0.1 0.25 0.05
		tcMod strech 0 1 0.5 0.025
	}
	//{
	//	map $lightmap
	//}
}



//barricade
UNR_g_roots-1
{
	surfaceparm nonsolid
	cull none
	{
		map textures/UNR_g_roots-1__x
		blendFunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA
		alphaFunc GT0
		depthWrite
		rgbGen identity
	}
	{
		map $lightmap
		rgbGen identity
		blendFunc GL_DST_COLOR GL_ZERO
		depthFunc equal
	}
}

UNR_straw
{
	surfaceparm nonsolid
	cull none
	{
		map textures/UNR_straw__x
		blendFunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA
		alphaFunc GT0
		depthWrite
		rgbGen identity
	}
	{
		map $lightmap
		rgbGen identity
		blendFunc GL_DST_COLOR GL_ZERO
		depthFunc equal
	}
}

UNR_donfire
{
	surfaceparm trans
	//surfaceparm nodraw
	cull none
	{
		map textures/UNR_donfire
		blendFunc add
		rgbGen vertex
		//tcMod turb 0 0.001 0.25 1
		//tcMod strech 0 0.01 0.5 1
	}
}


UNR_xeolighting__BrightScroll
{
	surfaceparm nonsolid
	//surfaceparm trans
	surfaceparm slime //so collides with trace
	//surfaceparm nodraw
	cull none
	{
		map textures/UNR_xeolighting
		blendFunc add
		rgbGen vertex
		tcMod turb 0 0.1 0.25 10
		tcMod strech 0 0.1 0.5 5
		tcMod scroll 0 0.2
	}
	//{
	//	map $lightmap
	//	rgbGen identity
	//	tcGen lightmap
	//	blendfunc filter
	//}
}
UNR_xeolighting__BrightScrollHSVBlueish
{
	//defaultcolormod 0.2 0 1
	defaultcolormod_unrhsv 160 100 74
	surfaceparm nonsolid
	//surfaceparm trans
	surfaceparm slime //so collides with trace
	//surfaceparm nodraw
	cull none
	{
		map textures/UNR_xeolighting
		blendFunc add
		rgbGen vertex
		tcMod turb 0 0.1 0.25 10
		tcMod strech 0 0.1 0.5 5
		tcMod scroll 0 0.2
	}
	//{
	//	map $lightmap
	//	rgbGen identity
	//	tcGen lightmap
	//	blendfunc filter
	//}
}
UNR_cloud1__BrightScroll
{	
	cull none
	{
		map textures/UNR_cloud1
		blendFunc add
		//rgbGen vertex
		tcMod scroll 0.01 0.01
	}
}
UNR_cloud1__Scroll
{	
	cull none
	{
		map textures/UNR_cloud1
		blendFunc add
		rgbGen vertex
		tcMod scroll 0.01 0.01
	}
}
UNR_moon-4__BrightAdd
{	
	cull none
	{
		clampMap textures/UNR_moon-4
		blendFunc add
	}
}

UNR_nebula3__BrightAdd
{	
	cull none
	{
		clampMap textures/UNR_nebula3
		blendFunc add
	}
}


UNR_3New__Bright
{
	surfaceparm nonsolid
	surfaceparm playerclip
	cull none
	{
		map textures/UNR_3New__x
		blendFunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA
		alphaFunc GT0
		depthWrite
		rgbGen identity
	}
	{
		//map $lightmap
		//rgbGen identity
		//blendFunc GL_DST_COLOR GL_ZERO
		//depthFunc equal
	}
}
UNR_3__Bright
{
	{
		map textures/UNR_3
	}
}


UNR_ClfPilr3__Bright
{
	{
		map textures/UNR_ClfPilr3
	}
}

UNR_Water_Niv
{
	surfaceparm nonsolid
	surfaceparm water
	deformVertexes wave 150.0 sin 2 5 0.25 0.1
	//Q3map_TessSize 512
	cull none
	q3map_globaltexture
	{
		map textures/UNR_Water_Niv
		//blendfunc filter
		//blendfunc blend
		blendfunc add
		//tcMod turb 0 0.1 0.25 0.05
		//tcMod strech 0 1 0.5 0.025
	}
	////{
	////	map $lightmap
	////}
	{
		map $lightmap
		rgbGen identity
		tcGen lightmap
		blendfunc filter
	}
}

// UNR_C_barsm__x
// {
// 	surfaceparm nonsolid
// 	surfaceparm playerclip
// 	cull none
// 	{
// 		map textures/UNR_C_barsm__x
// 		blendFunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA
// 		alphaFunc GT0
// 		depthWrite
// 		rgbGen identity
// 	}
// 	{
// 		map $lightmap
// 		rgbGen identity
// 		blendFunc GL_DST_COLOR GL_ZERO
// 		depthFunc equal
// 	}
// }


UNR_C_barsm
{
	surfaceparm nonsolid
	surfaceparm playerclip
	cull none
	{
		map textures/UNR_C_barsm__x
		blendFunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA
		alphaFunc GT0
		depthWrite
		rgbGen identity
	}
	{
		map $lightmap
		rgbGen identity
		blendFunc GL_DST_COLOR GL_ZERO
		depthFunc equal
	}
}


//arcanetemple
UNR_Swater4a
{
	surfaceparm nonsolid
	surfaceparm water
	deformVertexes wave 150.0 sin 2 5 0.25 0.1
	//Q3map_TessSize 512
	cull none
	q3map_globaltexture
	{
		map textures/UNR_Swater4a
		//blendfunc filter
		//blendfunc blend
		blendfunc add
		//tcMod turb 0 0.1 0.25 0.05
		//tcMod strech 0 1 0.5 0.025
	}
	////{
	////	map $lightmap
	////}
	{
		map $lightmap
		rgbGen identity
		tcGen lightmap
		blendfunc filter
	}
}


UNR_lightning6
{
	surfaceparm trans
	//surfaceparm nodraw
	cull none
	{
		map textures/UNR_lightning6
		blendFunc add
		rgbGen vertex
	}
}

//arcanetemple
UNR_Smoke1
{
	surfaceparm nonsolid
	surfaceparm water
	deformVertexes wave 150.0 sin 2 5 0.25 0.1
	//Q3map_TessSize 512
	cull none
	q3map_globaltexture
	{
		map textures/UNR_Swater4a
		//blendfunc filter
		//blendfunc blend
		blendfunc add
		//tcMod turb 0 0.1 0.25 0.05
		//tcMod strech 0 1 0.5 0.025
	}
	////{
	////	map $lightmap
	////}
	{
		map $lightmap
		rgbGen identity
		tcGen lightmap
		blendfunc filter
	}
}

UNR_WaterFall2
{
	surfaceparm nonsolid
	surfaceparm water
	deformVertexes wave 150.0 sin 2 5 0.25 0.1
	//Q3map_TessSize 512
	cull none
	q3map_globaltexture
	{
		map textures/UNR_WaterFall2
		//blendfunc filter
		//blendfunc blend
		blendfunc add
		//tcMod turb 0 0.1 0.25 0.05
		//tcMod strech 0 1 0.5 0.025
		tcMod scroll 0 -2
	}
	////{
	////	map $lightmap
	////}
	{
		map $lightmap
		rgbGen identity
		tcGen lightmap
		blendfunc filter
	}
}
UNR_WaterRings2
{
	surfaceparm nonsolid
	surfaceparm water
	deformVertexes wave 150.0 sin 2 5 0.25 0.1
	//Q3map_TessSize 512
	cull none
	q3map_globaltexture
	{
		map textures/UNR_WaterRings2
		//blendfunc filter
		//blendfunc blend
		blendfunc add
		//tcMod turb 0 0.1 0.25 0.05
		//tcMod strech 0 1 0.5 0.025
	}
	////{
	////	map $lightmap
	////}
	{
		map $lightmap
		rgbGen identity
		tcGen lightmap
		blendfunc filter
	}
}

//mobais
UNR_4New__Bright
{
	surfaceparm nonsolid
	surfaceparm playerclip
	cull none
	{
		map textures/UNR_4New__x
		blendFunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA
		alphaFunc GT0
		depthWrite
		rgbGen identity
	}
	{
		//map $lightmap
		//rgbGen identity
		//blendFunc GL_DST_COLOR GL_ZERO
		//depthFunc equal
	}
}

UNR_Grate1-D3n
{
	surfaceparm nonsolid
	surfaceparm playerclip
	cull none
	{
		map textures/UNR_Grate1-D3n__x
		blendFunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA
		alphaFunc GT0
		depthWrite
		rgbGen identity
	}
	{
		map $lightmap
		rgbGen identity
		blendFunc GL_DST_COLOR GL_ZERO
		depthFunc equal
	}
}

UNR_SG_fence
{
	surfaceparm nonsolid
	surfaceparm playerclip
	cull none
	{
		map textures/UNR_SG_fence__x
		blendFunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA
		alphaFunc GT0
		depthWrite
		rgbGen identity
	}
	{
		map $lightmap
		rgbGen identity
		blendFunc GL_DST_COLOR GL_ZERO
		depthFunc equal
	}
}

UNR_NghSky2__Bright
{
	{
		map textures/UNR_NghSky2
	}
}
UNR_moon-5__BrightAdd
{	
	cull none
	{
		clampMap textures/UNR_moon-5
		blendFunc add
	}
}
UNR_HourIndus_clouds__BrightScroll
{	
	cull none
	{
		map textures/UNR_HourIndus_clouds
		blendFunc add
		//rgbGen vertex
		tcMod scroll 0.01 0.01
	}
}

UNR_HourIndus_clouds__DarkScroll
{	
	cull none
	{
		map textures/UNR_HourIndus_clouds
		blendFunc add
		//rgbGen vertex
		tcMod scroll 0.01 0.01
	}
	{
		map $lightmap
		rgbGen identity
		blendFunc GL_DST_COLOR GL_ZERO
		depthFunc equal
	}
}
UNR_HourIndus_clouds__DarkScrollSolid
{	
	//cull none
	{
		map textures/UNR_HourIndus_clouds
		//blendFunc add
		//rgbGen vertex
		tcMod scroll 0.01 0.01
	}
	{
		map $lightmap
		blendfunc filter
	}
}

UNR_4New__Dark
{
	surfaceparm nonsolid
	surfaceparm playerclip
	cull none
	{
		map textures/UNR_4New__x
		blendFunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA
		alphaFunc GT0
		depthWrite
		rgbGen identity
	}
	{
		map $lightmap
		rgbGen identity
		blendFunc GL_DST_COLOR GL_ZERO
		depthFunc equal
	}
}
UNR_1New__Dark
{
	surfaceparm nonsolid
	surfaceparm playerclip
	cull none
	{
		map textures/UNR_1New__x
		blendFunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA
		alphaFunc GT0
		depthWrite
		rgbGen identity
	}
	{
		map $lightmap
		rgbGen identity
		blendFunc GL_DST_COLOR GL_ZERO
		depthFunc equal
	}
}
UNR_2New__Dark
{
	surfaceparm nonsolid
	surfaceparm playerclip
	cull none
	{
		map textures/UNR_2New__x
		blendFunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA
		alphaFunc GT0
		depthWrite
		rgbGen identity
	}
	{
		map $lightmap
		rgbGen identity
		blendFunc GL_DST_COLOR GL_ZERO
		depthFunc equal
	}
}

UNR_4New__Dark2
{
	surfaceparm nonsolid
	surfaceparm playerclip
	cull none
	{
		clampMap textures/UNR_4New__x
		blendFunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA
		alphaFunc GT0
		depthWrite
		rgbGen identity
	}
	{
		map $lightmap
		rgbGen identity
		blendFunc GL_DST_COLOR GL_ZERO
		depthFunc equal
	}
}
UNR_1New__Dark2
{
	surfaceparm nonsolid
	surfaceparm playerclip
	cull none
	{
		clampMap textures/UNR_1New__x
		blendFunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA
		alphaFunc GT0
		depthWrite
		rgbGen identity
	}
	{
		map $lightmap
		rgbGen identity
		blendFunc GL_DST_COLOR GL_ZERO
		depthFunc equal
	}
}
UNR_2New__Dark2
{
	surfaceparm nonsolid
	surfaceparm playerclip
	cull none
	{
		clampMap textures/UNR_2New__x
		blendFunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA
		alphaFunc GT0
		depthWrite
		rgbGen identity
	}
	{
		map $lightmap
		rgbGen identity
		blendFunc GL_DST_COLOR GL_ZERO
		depthFunc equal
	}
}


//conveyor
UNR_cststeam
{
	surfaceparm nonsolid
	surfaceparm trans
	//surfaceparm nodraw
	cull none
	{
		map textures/UNR_cststeam
		blendFunc add
		rgbGen vertex
	}
}


UNR_runner__scroll
{

	{
		map textures/UNR_runner
		tcMod scroll 0 0.2
	}
	{
		map $lightmap
	}
}



UNR_latticenewwte
{
	surfaceparm nonsolid
	surfaceparm playerclip
	cull none
	sort Opaque
	sort 3
	{
		map textures/UNR_latticenewwte__x
		blendFunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA
		alphaFunc GT0
		depthWrite
		rgbGen identity
	}
	{
		map $lightmap
		rgbGen identity
		blendFunc GL_DST_COLOR GL_ZERO
		depthFunc equal
	}
}

UNR_latticenew
{
	surfaceparm nonsolid
	surfaceparm playerclip
	cull none
	sort Opaque
	sort 3
	{
		map textures/UNR_latticenew__x
		blendFunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA
		alphaFunc GT0
		depthWrite
		rgbGen identity
	}
	{
		map $lightmap
		rgbGen identity
		blendFunc GL_DST_COLOR GL_ZERO
		depthFunc equal
	}
}


//matrixed
UNR_Win-blue__Bright
{
	{
		map textures/UNR_Win-blue
	}
}
UNR_Win-gren3__Bright
{
	{
		map textures/UNR_Win-gren3
	}
}

UNR_Skyblu2__Bright
{	
	cull none
	{
		map textures/UNR_Skyblu2
		blendFunc add
		//rgbGen vertex
		tcMod scroll 0.01 0.01
	}
}

UNR_pavf__Bright
{
	{
		map textures/UNR_pavf
	}
}

UNR_mLight3__Bright
{
	{
		map textures/UNR_mLight3
	}
}
//vampireblood
UNR_Lava2ma
{
	surfaceparm nonsolid
	surfaceparm lava
	deformVertexes wave 150.0 sin 2 5 0.25 0.1
	Q3map_TessSize 512
	cull none
	q3map_globaltexture
	{
		map textures/UNR_Lava2ma
		//blendfunc filter
		tcMod turb 0 0.1 0.25 0.05
		tcMod strech 0 1 0.5 0.025
	}
	{
		map $lightmap
	}
}

//warehouse
UNR_anctoast
{
	surfaceparm trans
	//surfaceparm nodraw
	cull none
	{
		map textures/UNR_anctoast
		blendFunc add
		rgbGen vertex
	}
}

//adam
UNR_arrow_a00
{
	surfaceparm trans
	{
		animmap 45 textures/UNR_arrow_a00 textures/UNR_arrow_a01 textures/UNR_arrow_a02 textures/UNR_arrow_a03 textures/UNR_arrow_a04 textures/UNR_arrow_a05 textures/UNR_arrow_a06 textures/UNR_arrow_a07 textures/UNR_arrow_a08 textures/UNR_arrow_a09 textures/UNR_arrow_a10 textures/UNR_arrow_a11 textures/UNR_arrow_a12 textures/UNR_arrow_a13 textures/UNR_arrow_a14 textures/UNR_arrow_a15 textures/UNR_arrow_a16 textures/UNR_arrow_a17 textures/UNR_arrow_a18 textures/UNR_arrow_a19 textures/UNR_arrow_a20
		//blendfunc blend
		//rgbGen identity
		blendFunc add
		rgbGen vertex
	}
}



//radikus
UNR_pantile1__BrightSolidC
{
	surfaceparm nonsolid
	surfaceparm playerclip
	cull none
	{
		map textures/UNR_pantile1
	}
}
UNR_pantile2__BrightSolidC
{
	surfaceparm nonsolid
	surfaceparm playerclip
	cull none
	{
		map textures/UNR_pantile2
	}
}
UNR_pantile3__BrightSolidC
{
	surfaceparm nonsolid
	surfaceparm playerclip
	cull none
	{
		map textures/UNR_pantile3
	}
}
UNR_pantile4__BrightSolidC
{
	surfaceparm nonsolid
	surfaceparm playerclip
	cull none
	{
		map textures/UNR_pantile4
	}
}
UNR_pantile1__Bright
{
	surfaceparm nonsolid
	surfaceparm playerclip
	cull none
	{
		map textures/UNR_pantile1__x
		blendFunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA
		alphaFunc GT0
		depthWrite
		rgbGen identity
	}
	{
		//map $lightmap
		//rgbGen identity
		//blendFunc GL_DST_COLOR GL_ZERO
		//depthFunc equal
	}
}
UNR_pantile2__Bright
{
	surfaceparm nonsolid
	surfaceparm playerclip
	cull none
	{
		map textures/UNR_pantile2__x
		blendFunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA
		alphaFunc GT0
		depthWrite
		rgbGen identity
	}
	{
		//map $lightmap
		//rgbGen identity
		//blendFunc GL_DST_COLOR GL_ZERO
		//depthFunc equal
	}
}
UNR_pantile3__Bright
{
	surfaceparm nonsolid
	surfaceparm playerclip
	cull none
	{
		map textures/UNR_pantile3__x
		blendFunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA
		alphaFunc GT0
		depthWrite
		rgbGen identity
	}
	{
		//map $lightmap
		//rgbGen identity
		//blendFunc GL_DST_COLOR GL_ZERO
		//depthFunc equal
	}
}
UNR_pantile4__Bright
{
	surfaceparm nonsolid
	surfaceparm playerclip
	cull none
	{
		map textures/UNR_pantile4__x
		blendFunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA
		alphaFunc GT0
		depthWrite
		rgbGen identity
	}
	{
		//map $lightmap
		//rgbGen identity
		//blendFunc GL_DST_COLOR GL_ZERO
		//depthFunc equal
	}
}
UNR_pantileb__Bright
{
	{
		map textures/UNR_pantileb
	}
}

// UNR_SkytstA__BrightScrollHSVRedish
// {
// 	//defaultcolormod_unrhsv 1 100 74
// 	//defaultcolormod_unrhsv 160 100 74
// 	//defaultcolormod_unrhsv 160 100 0
// 	//defaultcolormod_unrhsv 160 254 74
// 	//defaultcolormod_unrhsv 1 200 74
// 	//defaultcolormod_unrhsv 1 1 74
// 	//defaultcolormod_unrhsv 1 1 1
// 	defaultcolormod_unrhsv 1 1 250
// 	surfaceparm nonsolid
// 	surfaceparm slime //so collides with trace
// 	cull none
// 	{
// 		map textures/UNR_SkytstA
// 		blendFunc add
// 		//rgbGen vertex
// 		tcMod scroll 0.01 0.01
// 	}
// }
UNR_pansky1__BrightScroll
{	
	cull none
	{
		map textures/UNR_pansky1
		blendFunc add
		//rgbGen vertex
		tcMod scroll 0.01 0.01
	}
}
UNR_WLAVA
{
	surfaceparm nonsolid
	surfaceparm lava
	deformVertexes wave 150.0 sin 2 5 0.25 0.1
	Q3map_TessSize 512
	cull none
	q3map_globaltexture
	{
		map textures/UNR_WLAVA
		//blendfunc filter
		tcMod turb 0 0.1 0.25 0.05
		tcMod strech 0 1 0.5 0.025
	}
	{
		map $lightmap
	}
}
UNR_warer3
{
	surfaceparm nonsolid
	surfaceparm water
	deformVertexes wave 150.0 sin 2 5 0.25 0.1
	//Q3map_TessSize 512
	cull none
	q3map_globaltexture
	{
		map textures/UNR_warer3
		//blendfunc filter
		//blendfunc blend
		blendfunc add
		//tcMod turb 0 0.1 0.25 0.05
		//tcMod strech 0 1 0.5 0.025
	}
	////{
	////	map $lightmap
	////}
	{
		map $lightmap
		rgbGen identity
		tcGen lightmap
		blendfunc filter
	}
}

UNR_worm3a
{
	surfaceparm trans
	surfaceparm nonsolid
	cull none
	{
		map textures/UNR_worm3a
		blendFunc add
		rgbGen vertex
		tcMod turb 0 0.1 0.25 0.05
		tcMod strech 0 1 0.5 0.025
	}
}
UNR_worm3b
{
	surfaceparm trans
	surfaceparm nonsolid
	cull none
	{
		map textures/UNR_worm3b
		blendFunc add
		rgbGen vertex
		tcMod turb 0 0.1 0.25 0.05
		tcMod strech 0 1 0.5 0.025
	}
}

UNR_worm3d
{
	surfaceparm trans
	surfaceparm nonsolid
	cull none
	{
		map textures/UNR_worm3d
		blendFunc add
		rgbGen vertex
		tcMod turb 0 0.1 0.25 0.05
		tcMod strech 0 1 0.5 0.025
	}
}

UNR_moon-3__BrightAdd
{
	cull none
	{
		map textures/UNR_moon-3
		blendFunc add
	}
}

UNR_FLARE9__BrightAdd
{

	cull none
	{
	map textures/UNR_FLARE9
	blendFunc add
	}
}


//elsnoreredux
UNR_liquid7
{
	surfaceparm nonsolid
	surfaceparm water
	deformVertexes wave 150.0 sin 2 5 0.25 0.1
	//Q3map_TessSize 512
	cull none
	q3map_globaltexture
	{
		map textures/UNR_liquid7
		//blendfunc filter
		//blendfunc blend
		blendfunc add
		//tcMod turb 0 0.1 0.25 0.05
		//tcMod strech 0 1 0.5 0.025
	}
	////{
	////	map $lightmap
	////}
	{
		map $lightmap
		rgbGen identity
		tcGen lightmap
		blendfunc filter
	}
}
UNR_glevag2
{
	surfaceparm nonsolid
	surfaceparm lava
	deformVertexes wave 150.0 sin 2 5 0.25 0.1
	Q3map_TessSize 512
	cull none
	q3map_globaltexture
	{
		map textures/UNR_glevag2
		//blendfunc filter
		tcMod turb 0 0.1 0.25 0.05
		tcMod strech 0 1 0.5 0.025
	}
	//{
	//	map $lightmap
	//}
}

UNR_SkytstA__BrightScroll
{
	surfaceparm nonsolid
	surfaceparm slime //so collides with trace
	cull none
	{
		map textures/UNR_SkytstA
		blendFunc add
		//rgbGen vertex
		tcMod scroll 0.01 0.01
	}
}



UNR_pansky1__ElsnDarkScroll
{
	defaultcolormod_unrhsv 176 0 250 //blue, but is mixing with pan sky
	surfaceparm nonsolid
	surfaceparm slime //so collides with trace
	cull none
	{
		map textures/UNR_pansky1
		blendFunc blend
		tcMod scroll 0.01 0.01
	}
}

UNR_SkytstA__ElsnDarkScroll
{
	//defaultcolormod_unrhsv 50 1 250 //greenish
	defaultcolormod_unrhsv 208 0 250 //purple
	//defaultcolormod_unrhsv 176 0 250 //blue, but is mixing with pan sky
	surfaceparm nonsolid
	surfaceparm slime //so collides with trace
	cull none
	{
		map textures/UNR_SkytstA
		//map textures/UNR_pansky1
		blendFunc add
		//blendFunc blend
		//rgbGen vertex
		tcMod scroll 0.01 0.01
	}
	//{
	//	map $lightmap
	//	rgbGen identity
	//	tcGen lightmap
	//	blendfunc filter
	//}
	//{
	//	map $lightmap
	//}
}






//2001v2
UNR_sh_grd3m__x
{
	surfaceparm nonsolid
	surfaceparm playerclip
	//cull none
	{
		map textures/UNR_sh_grd3m__x
		blendFunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA
		alphaFunc GT0
		depthWrite
		rgbGen identity
	}
	{
		map $lightmap
		rgbGen identity
		blendFunc GL_DST_COLOR GL_ZERO
		depthFunc equal
	}
}
UNR_sh_grd3__x
{
	surfaceparm nonsolid
	surfaceparm playerclip
	//cull none
	{
		map textures/UNR_sh_grd3__x
		blendFunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA
		alphaFunc GT0
		depthWrite
		rgbGen identity
	}
	{
		map $lightmap
		rgbGen identity
		blendFunc GL_DST_COLOR GL_ZERO
		depthFunc equal
	}
}

UNR_scrn_A00
{
	surfaceparm trans
	{
		animmap 45 textures/UNR_scrn_A00 textures/UNR_scrn_A01 textures/UNR_scrn_A02 textures/UNR_scrn_A03 textures/UNR_scrn_A04 textures/UNR_scrn_A05 textures/UNR_scrn_A06 textures/UNR_scrn_A07 textures/UNR_scrn_A08 textures/UNR_scrn_A09 textures/UNR_scrn_A10 textures/UNR_scrn_A11 textures/UNR_scrn_A12 textures/UNR_scrn_A13 textures/UNR_scrn_A14 textures/UNR_scrn_A15
	}
	{
		map $lightmap
	}
}

UNR_map_by
{
	cull none
	{
		map textures/UNR_map_by
		blendFunc add
		rgbGen vertex
	}
	{
		map $lightmap
	}
}
UNR_map_gb
{
	cull none
	{
		map textures/UNR_map_gb
		blendFunc add
		rgbGen vertex
	}
	{
		map $lightmap
	}
}
UNR_map_rg_s
{
	cull none
	{
		map textures/UNR_map_rg_s
		blendFunc add
		rgbGen vertex
	}
	{
		map $lightmap
	}
}
UNR_map_yr
{
	cull none
	{
		map textures/UNR_map_yr
		blendFunc add
		rgbGen vertex
	}
	{
		map $lightmap
	}
}

UNR_laser_scan
{	
	//surfaceparm nonsolid
	surfaceparm trans
	//surfaceparm lava
	cull none
	{
		map textures/UNR_laser_scan__x
		blendFunc blend
		rgbGen vertex
	}
}
UNR_cbdprod //__t
{
	//surfaceparm nonsolid
	surfaceparm trans
	////surfaceparm nodraw
	cull none
	{
		map textures/UNR_cbdprod
		blendFunc add
		rgbGen vertex
		//tcMod turb 0 0.1 0.25 10
		//tcMod strech 0 0.1 0.5 5
	}
	{
		map $lightmap
		rgbGen identity
		tcGen lightmap
		blendfunc filter
	}
}
UNR_cblaser //__t
{
	//surfaceparm nonsolid
	surfaceparm trans
	////surfaceparm nodraw
	cull none
	{
		map textures/UNR_cblaser
		blendFunc add
		rgbGen vertex
		//tcMod turb 0 0.1 0.25 10
		//tcMod strech 0 0.1 0.5 5
	}
	{
		map $lightmap
		rgbGen identity
		tcGen lightmap
		blendfunc filter
	}
}


UNR_curtains 
{
	surfaceparm nonsolid
	surfaceparm trans
	cull none
	{
		map textures/UNR_curtains__x
		blendFunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA
		alphaFunc GT0
		depthWrite
		rgbGen identity
	}
	{
		map $lightmap
		rgbGen identity
		blendFunc GL_DST_COLOR GL_ZERO
		depthFunc equal
	}
}

UNR_Window__2001v2
{
	//surfaceparm nonsolid
	//surfaceparm playerclip
	cull none
	{
		map textures/UNR_Window__2001v2
		//map textures/UNR_Window__2001v2__x
		//blendFunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA
		//alphaFunc GT0
		//depthWrite
		//rgbGen identity
	}
	{
		map $lightmap
		//rgbGen identity
		//blendFunc GL_DST_COLOR GL_ZERO
		//depthFunc equal
	}
}


UNR_window_m__2001v2
{
	//surfaceparm nonsolid
	//surfaceparm playerclip
	cull none
	{
		map textures/UNR_window_m__2001v2__x
		blendFunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA
		alphaFunc GT0
		depthWrite
		rgbGen identity
	}
	{
		map $lightmap
		rgbGen identity
		blendFunc GL_DST_COLOR GL_ZERO
		depthFunc equal
	}
}


UNR_wheat_m
{
	surfaceparm nonsolid
	surfaceparm trans
	cull none
	{
		map textures/UNR_wheat_m__x
		blendFunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA
		alphaFunc GT0
		depthWrite
		rgbGen identity
	}
	{
		map $lightmap
		rgbGen identity
		blendFunc GL_DST_COLOR GL_ZERO
		depthFunc equal
	}
}

UNR_shwr_crtn
{
	surfaceparm nonsolid
	surfaceparm trans
	cull none
	{
		map textures/UNR_shwr_crtn__x
		blendFunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA
		alphaFunc GT0
		depthWrite
		rgbGen identity
	}
	{
		map $lightmap
		rgbGen identity
		blendFunc GL_DST_COLOR GL_ZERO
		depthFunc equal
	}
}

UNR_icicles
{
	surfaceparm nonsolid
	surfaceparm trans
	surfaceparm water
	cull none
	{
		map textures/UNR_icicles__x
		blendFunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA
		alphaFunc GT0
		depthWrite
		rgbGen identity
	}
	{
		map $lightmap
		rgbGen identity
		blendFunc GL_DST_COLOR GL_ZERO
		depthFunc equal
	}
}

UNR_spcfrm
{
	//surfaceparm nonsolid
	//surfaceparm playerclip
	//cull none
	{
		map textures/UNR_spcfrm__x
		blendFunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA
		alphaFunc GT0
		depthWrite
		rgbGen identity
	}
	{
		map $lightmap
		rgbGen identity
		blendFunc GL_DST_COLOR GL_ZERO
		depthFunc equal
	}
}

//Glass
UNR_BlueSky
{
	surfaceparm trans
	//surfaceparm nodraw
	cull none
	{
		map textures/UNR_BlueSky
		blendFunc add
		rgbGen vertex
	}
}




UNR_Tb_2
{
	surfaceparm nonsolid
	surfaceparm trans
	cull none
	{
		map textures/UNR_Tb_2__x
		blendFunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA
		alphaFunc GT0
		depthWrite
		rgbGen identity
	}
	{
		map $lightmap
		rgbGen identity
		blendFunc GL_DST_COLOR GL_ZERO
		depthFunc equal
	}
}
UNR_Tb_1
{
	surfaceparm nonsolid
	surfaceparm trans
	cull none
	{
		map textures/UNR_Tb_1__x
		blendFunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA
		alphaFunc GT0
		depthWrite
		rgbGen identity
	}
	{
		map $lightmap
		rgbGen identity
		blendFunc GL_DST_COLOR GL_ZERO
		depthFunc equal
	}
}

UNR_2001title_2
{
	surfaceparm nodraw
	surfaceparm nonsolid
	cull none
	{
		map textures/UNR_2001title_2
	}
}

UNR_proj_lt
{
	surfaceparm nodraw
	surfaceparm nonsolid
	cull none
	{
		map textures/UNR_proj_lt
		blendFunc add
		rgbGen vertex
	}
}

UNR_flowers1
{
	surfaceparm nonsolid
	surfaceparm trans
	surfaceparm water
	cull none
	{
		map textures/UNR_flowers1
		blendFunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA
		alphaFunc GT0
		depthWrite
		rgbGen identity
	}
	{
		map $lightmap
		rgbGen identity
		blendFunc GL_DST_COLOR GL_ZERO
		depthFunc equal
	}
}
UNR_flowers2
{
	surfaceparm nonsolid
	surfaceparm trans
	surfaceparm water
	cull none
	{
		map textures/UNR_flowers2
		blendFunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA
		alphaFunc GT0
		depthWrite
		rgbGen identity
	}
	{
		map $lightmap
		rgbGen identity
		blendFunc GL_DST_COLOR GL_ZERO
		depthFunc equal
	}
}
UNR_flowers3
{
	surfaceparm nonsolid
	surfaceparm trans
	surfaceparm water
	cull none
	{
		map textures/UNR_flowers3
		blendFunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA
		alphaFunc GT0
		depthWrite
		rgbGen identity
	}
	{
		map $lightmap
		rgbGen identity
		blendFunc GL_DST_COLOR GL_ZERO
		depthFunc equal
	}
}


UNR_kubrik_dated
{
	surfaceparm nonsolid
	cull none
	{
		map textures/UNR_kubrik_dated
	}
	{
		map $lightmap
	}
}
UNR_clarke
{
	surfaceparm nonsolid
	cull none
	{
		map textures/UNR_clarke
	}
	{
		map $lightmap
	}
}

UNR_Rustpl1_XXHUNTSKY
{
	//surfaceparm nonsolid
	//cull none
	//{
	//	map textures/UNR_Black__2001v2
	//}
	//{
	//	map $lightmap
	//}
}
UNR_Rustpl1_XXGUESSSKYBOXTHING
{
	//surfaceparm nonsolid
	//cull none
	//{
	//	map textures/UNR_Black__2001v2
	//}
	//{
	//	map $lightmap
	//}
}


UNR_earth_se__Bright
{
	{
		map UNR_earth_se
	}
}
UNR_stars_u__Bright
{
	{
		map UNR_stars_u
	}
}

UNR_stars_n__Bright
{
	{
		map UNR_stars_n
	}
}
UNR_stars_e__Bright
{
	{
		map UNR_stars_e
	}
}

UNR_stars_s__Bright
{
	{
		map UNR_stars_s
	}
}
UNR_moon_3__Bright
{
	{
		map UNR_moon_3
	}
}


UNR_stars_w__Bright
{
	{
		map UNR_stars_w
	}
}
UNR_earth_c__Bright
{
	{
		map UNR_earth_c
	}
}


UNR_earth_ne__Bright
{
	{
		map UNR_earth_ne
	}
}
UNR_earth_nw__Bright
{
	{
		map UNR_earth_nw
	}
}


UNR_earth_sw__Bright
{
	{
		map UNR_earth_sw
	}
}
UNR_Black__2001v2__Bright
{
	{
		map UNR_Black__2001v2
	}
}

//pressure
//Set to similar to UNR_Goop3__slime_translucent, but actually used as water
UNR_Goop3
{
	surfaceparm nonsolid
	surfaceparm slime
	deformVertexes wave 150.0 sin 2 5 0.25 0.1
	Q3map_TessSize 512
	cull none
	{
		map textures/UNR_Goop3
		blendFunc add
		rgbGen vertex
		tcMod turb 0 0.1 0.25 0.05
		tcMod strech 0 1 0.5 0.025
	}
	{
		map $lightmap
		rgbGen identity
		tcGen lightmap
		blendfunc filter
	}
}



