levelshots/UJE_sky_sniper_cc_automap
{
    nopicmip
    nocompress
    nomipmaps
    {
        clampmap levelshots/UJE_sky_sniper_cc.tga
        depthFunc equal
        rgbGen identity
    }
}

levelshots/UJE_sky_sniper_cc_trans
{
    nopicmip
    nocompress
    nomipmaps
    {
        clampmap levelshots/UJE_sky_sniper_cc.tga
        blendfunc blend
        rgbGen identity
        alphaGen vertex
    }
}

textures/UJE_sky_sniper/uje_sky
{
	qer_editorimage textures/UJE_sky_sniper/sky/ujesky_lf.tga
	q3map_lightrgb 0.8 0.9 1.0
	q3map_sunExt 1 .95 .9 100 60 60 2 16
	q3map_lightmapFilterRadius 0 8
	q3map_skylight 50 5
	q3map_nofog
	sunshader textures/UJE_sky_sniper/uje_sun
	surfaceparm sky
	skyparms "textures/UJE_sky_sniper/sky/ujesky" - -
	surfaceparm nodlight
	surfaceparm nolightmap
	surfaceparm noimpact
	nopicmip
	nomipmaps


}

textures/UJE_sky_sniper/uje_sun
{
	qer_editorimage textures/UJE_sky_sniper/uje_sun.tga
	nocompress
	cull none
	q3map_nofog
	
	{
		map textures/UJE_sky_sniper/uje_sun.tga
		blendFunc blend
		rgbGen identityLighting
	}
}

textures/UJE_sky_sniper/uje_clouds
{
	qer_editorimage textures/skies/fueldump_clouds.tga
	qer_trans 0.6
	q3map_globalTexture

	q3map_nonplanar
	cull none
	sort nearest
	surfaceparm pointlight
	surfaceparm alphashadow
	surfaceparm nonsolid
	surfaceparm nomarks
	surfaceparm nolightmap
	{
		map textures/skies/fueldump_clouds.tga
		blendFunc blend
//		alphaFunc GE128
		alphaGen vertex //const 0.4
//		tcMod scale 64 64
		tcMod scroll -0.04 0
//		tcMod transform 1 0 0 1 0 1024
	}
	{
		map textures/skies/fueldump_clouds.tga
		blendFunc blend
//		alphaFunc GE128
		alphaGen vertex //const 0.1
//		tcMod scale 64 64
		tcMod scroll -0.02 0
//		tcMod transform 1 0 0 1 0 1024
	}
}
textures/UJE_sky_sniper/uje_clouds2
{
	qer_editorimage textures/skies/fueldump_clouds.tga
	qer_trans 0.6
	q3map_globalTexture

	q3map_lightrgb 0.8 0.9 1.0
	q3map_sunExt 1 .95 .9 100 60 60 2 16
	q3map_lightmapFilterRadius 0 8
	q3map_skylight 50 5

//	q3map_lightmapMergable
	q3map_nonplanar
	cull none
	sort nearest
	surfaceparm pointlight
	surfaceparm alphashadow
	surfaceparm nonsolid
	surfaceparm nomarks
	surfaceparm nolightmap
	{
		map textures/skies/fueldump_clouds.tga
		blendFunc blend
		alphaGen vertex //const 0.4
		tcMod scroll -0.04 0
	}
	{
		map textures/skies/fueldump_clouds.tga
		blendFunc blend
		alphaGen vertex //const 0.05
		tcMod scroll -0.1 0
	}
}

// propellor shader voor helis
textures/UJE_sky_sniper/propeller
{
	qer_editorimage textures/UJE_sky_sniper/propeller.tga
	cull none
	{
		clampmap textures/UJE_sky_sniper/propeller.tga
		blendFunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA
		rgbGen identity
		tcMod rotate 200
	}
}

//---------------------------------------------------
// common/alpha shaders copied from Sock's terrain-tutorial-map
// http://www.simonoc.com
//
textures/UJE_sky_sniper/alpha_000
{
        qer_editorimage textures/UJE_sky_sniper/qer_alpha_000.tga
	q3map_alphaMod volume
	q3map_alphaMod set 0
	surfaceparm nodraw
	surfaceparm nonsolid
	surfaceparm trans
	qer_trans 0.75
}

textures/UJE_sky_sniper/alpha_010
{
        qer_editorimage textures/UJE_sky_sniper/qer_alpha_000.tga
	q3map_alphaMod volume
	q3map_alphaMod set 0.1
	surfaceparm nodraw
	surfaceparm nonsolid
	surfaceparm trans
	qer_trans 0.1
}

textures/UJE_sky_sniper/alpha_025
{
        qer_editorimage textures/UJE_sky_sniper/qer_alpha_025.tga
	q3map_alphaMod volume
	q3map_alphaMod set 0.25
	surfaceparm nodraw
	surfaceparm nonsolid
	surfaceparm trans
	qer_trans 0.75
}

textures/UJE_sky_sniper/alpha_050
{
        qer_editorimage textures/UJE_sky_sniper/qer_alpha_050.tga
	q3map_alphaMod volume
	q3map_alphaMod set 0.50
	surfaceparm nodraw
	surfaceparm nonsolid
	surfaceparm trans
	qer_trans 0.75
}

textures/UJE_sky_sniper/alpha_075
{
        qer_editorimage textures/UJE_sky_sniper/qer_alpha_075.tga
	q3map_alphaMod volume
	q3map_alphaMod set 0.75
	surfaceparm nodraw
	surfaceparm nonsolid
	surfaceparm trans
	qer_trans 0.75
}

textures/UJE_sky_sniper/alpha_085
{
        qer_editorimage textures/UJE_sky_sniper/qer_alpha_085.tga
	q3map_alphaMod volume
	q3map_alphaMod set 0.85
	surfaceparm nodraw
	surfaceparm nonsolid
	surfaceparm trans
	qer_trans 0.75
}

textures/UJE_sky_sniper/alpha_095
{
        qer_editorimage textures/UJE_sky_sniper/qer_alpha_085.tga
	q3map_alphaMod volume
	q3map_alphaMod set 0.95
	surfaceparm nodraw
	surfaceparm nonsolid
	surfaceparm trans
	qer_trans 0.75
}

textures/UJE_sky_sniper/alpha_100
{
        qer_editorimage textures/UJE_sky_sniper/qer_alpha_100.tga
	q3map_alphaMod volume
	q3map_alphaMod set 1.0
	surfaceparm nodraw
	surfaceparm nonsolid
	surfaceparm trans
	qer_trans 0.75
}
//---------------------------------------------------
