//----------------------------------------------------------------------
// decal: grafitti
textures/UJE_00/uje_oldskool
{
	qer_editorimage textures/UJE_00/uje_oldskool.tga
	surfaceparm nomarks
	surfaceparm pointlight
	nopicmip
	nomipmaps
	polygonOffset
	sort decal
	implicitBlend textures/UJE_00/uje_oldskool.tga
}

//--- decal: klimop
// bovenkant
textures/UJE_00/uje_klimop_top
{
	qer_editorimage textures/UJE_00/uje_klimop_top.tga
//	surfaceparm nomarks
	surfaceparm pointlight
	surfaceparm alphashadow
	surfaceparm trans
	implicitMask -

	polygonOffset
	sort decal
}

// midden
textures/UJE_00/uje_klimop
{
	qer_editorimage textures/UJE_00/uje_klimop.tga
//	surfaceparm nomarks
	surfaceparm pointlight
	surfaceparm alphashadow
	surfaceparm trans
	implicitMask -

	polygonOffset
	sort decal
}
//---

// decal: speelkaarten
textures/UJE_00/uje_cards
{
	qer_editorimage textures/UJE_00/uje_cards.tga
	surfaceparm trans
//	surfaceparm alphashadow
	nopicmip
	nomipmaps
	polygonOffset
	sort decal
//	implicitMask -
	{
		map textures/UJE_00/uje_cards.tga
		blendFunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA
		alphaFunc GE128 //GT0
		rgbGen identity
	}
}

//--- decal: functions needed for 2 minute silence triggers
textures/UJE_00/engineer
{
	qer_editorimage textures/UJE_00/ic_engineer.tga
	nomipmaps
	nopicmip
	surfaceparm pointlight
	surfaceparm alphashadow
	surfaceparm trans
	polygonOffset
	sort decal
	{
		map textures/UJE_00/ic_engineer.tga
		blendFunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA
		rgbGen vertex
	}
}

textures/UJE_00/medic
{
	qer_editorimage textures/UJE_00/ic_medic.tga
	nomipmaps
	nopicmip
	surfaceparm pointlight
	surfaceparm alphashadow
	surfaceparm trans
	polygonOffset
	sort decal
	{
		map textures/UJE_00/ic_medic.tga
		blendFunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA
		rgbGen vertex
	}
}

textures/UJE_00/soldier
{
	qer_editorimage textures/UJE_00/ic_soldier.tga
	nomipmaps
	nopicmip
	surfaceparm pointlight
	surfaceparm alphashadow
	surfaceparm trans
	polygonOffset
	sort decal
	{
		map textures/UJE_00/ic_soldier.tga
		blendFunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA
		rgbGen vertex
	}
}

textures/UJE_00/fieldops
{
	qer_editorimage textures/UJE_00/ic_fieldops.tga
	nomipmaps
	nopicmip
	surfaceparm pointlight
	surfaceparm alphashadow
	surfaceparm trans
	polygonOffset
	sort decal
	{
		map textures/UJE_00/ic_fieldops.tga
		blendFunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA
		rgbGen vertex
	}
}

textures/UJE_00/covertops
{
	qer_editorimage textures/UJE_00/ic_covertops.tga
	nomipmaps
	nopicmip
	surfaceparm pointlight
	surfaceparm alphashadow
	surfaceparm trans
	polygonOffset
	sort decal
	{
		map textures/UJE_00/ic_covertops.tga
		blendFunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA
		rgbGen vertex
	}
}
//---

// decal: licht 7000
textures/lights/mlight_7k
{
	qer_editorimage textures/lights/light_m15.tga
	q3map_lightimage textures/lights/light_m15.blend.tga
	q3map_surfacelight 7000
	surfaceparm nomarks

	polygonOffset
	sort decal
	{
		map $lightmap
		rgbGen identity
	}
	{
		map textures/lights/light_m15.tga
		blendFunc GL_DST_COLOR GL_ZERO
		rgbGen identity
	}
	{
		map textures/lights/light_m15.blend.tga
		blendFunc GL_ONE GL_ONE
	}
}

textures/UJE_00/uje_glas_in_lood_decal
{
	qer_editorimage textures/UJE_00/uje_glas_in_lood.tga
	qer_trans .70

	q3map_globaltexture
	q3map_nonplanar
	q3map_shadeAngle 60
	q3map_noTJunc

	surfaceparm trans
	surfaceparm nolightmap
	surfaceparm nomarks

//	cull none
//	sort decal
	polygonOffset
	nopicmip

//	{
//		map $lightmap
//		rgbGen identity
//	}
	{
		map textures/UJE_00/uje_glas_in_lood.tga
		blendfunc GL_SRC_ALPHA GL_ONE //filter
		rgbGen identity //vertex
//		depthwrite
		tcMod scale -1 1
	}
}

textures/UJE_00/uje_niek
{
	qer_editorimage textures/UJE_00/uje_niek.tga

	surfaceparm trans
	surfaceparm nolightmap
	surfaceparm nomarks

	polygonOffset
	nopicmip
	{
		map textures/UJE_00/uje_niek.tga
		blendfunc GL_SRC_ALPHA GL_ONE //filter
		rgbGen identity //vertex
	}
}

textures/UJE_00/uje_sky_logo
{
	qer_editorimage textures/UJE_00/uje_sky_logo.tga

	surfaceparm trans
	surfaceparm nomarks

	polygonOffset
	sort decal
	nopicmip

	{
		map $lightmap
		rgbGen identity
	}
	{
		map textures/UJE_00/uje_sky_logo.tga
		blendFunc GL_DST_COLOR GL_ZERO
		rgbGen identity
	}
}

textures/UJE_00/uje_oezem
{
	qer_editorimage textures/UJE_00/uje_oezem.tga

	surfaceparm trans
	surfaceparm nomarks

	polygonOffset
	sort decal
	nopicmip

//	{
//		map $lightmap
//		rgbGen identity
//	}
	{
		map textures/UJE_00/uje_oezem.tga
		blendFunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA
		rgbGen vertex
	}
}

//textures/UJE_00/road_blend 
//{ 
//	qer_editorimage textures/UJE_00/road_blend.tga
//	surfaceparm trans 
//	surfaceparm nonsolid 
//	surfaceparm pointlight
//	surfaceparm nomarks
//	polygonOffset
//	
//	sort decal
//	
//	{
//		map textures/UJE_00/road_blend.tga
//		blendFunc GL_ZERO GL_ONE_MINUS_SRC_COLOR
//		rgbGen identity
//	}
//}
