textures/whoveropsfx/rotatingblade
{
	surfaceparm metalsteps
	cull disable
	nomipmaps
	nopicmip
	surfaceparm metalsteps
	surfaceparm alphashadow
	surfaceparm trans
	qer_editorimage textures/whoveropsfx/circularblade.tga
	{
		map textures/whoveropsfx/circularblade.tga
		blendFunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA
		alphaFunc GT0
		depthWrite
		rgbGen identity
		tcMod rotate 360
	}
	{
		map $lightmap
		rgbGen identity
		blendFunc GL_DST_COLOR GL_ZERO
		depthFunc equal
	}
}

textures/whoveropsfx/golddustshader
{
	qer_editorimage textures/whoveropsfx/golddust.tga
	q3map_globaltexture
	q3map_surfacelight 0
	fogparms ( .13 .11 .05 ) 16
	surfaceparm fog
	surfaceparm nomarks
	surfaceparm nonsolid
	surfaceparm pointlight
	surfaceparm trans
	surfaceparm water
	{
		map textures/whoveropsfx/golddustsmallmask.jpg
		blendFunc GL_DST_COLOR GL_ZERO
		rgbGen identify
		tcMod scale -.05 -.05
		tcmod scroll .01 -.01
	}
	{
		map textures/whoveropsfx/golddustsmall.tga
		blendFunc GL_ONE GL_ONE_MINUS_SRC_ALPHA
		rgbGen identity
		tcMod scale .05 .05
		tcMod scroll .01 -.01
	}
}

textures/whoveropsfx/dunesskybox
{
	qer_editorimage textures/whoveropsfx/dunes.tga
	q3map_lightrgb 0.92 0.88 1.0
	q3map_sunExt 0.92 0.88 1.0 175 315 50 3 16
	q3map_lightmapFilterRadius 0 8
	q3map_skylight 64 3

//	fog/haze
//	fogvars ( 1.0 0.75 0.5 ) .001
//  skyfogvars ( 1.0 0.75 0.5 ) .01

	surfaceparm nodlight
	surfaceparm nolightmap
	surfaceparm noimpact
	surfaceparm sky
	nopicmip
	nomipmaps

	skyparms textures/whoveropsfx_env/dunes 512 -
	sunshader textures/skies_sd/batterysunfog
}

textures/whoveropsfx/fadeawayskybox
{
	qer_editorimage textures/whoveropsfx/fadeaway.tga
	q3map_lightrgb 0.92 0.88 1.0
	q3map_sunExt 0.92 0.88 1.0 175 315 50 3 16
	q3map_lightmapFilterRadius 0 8
	q3map_skylight 64 3

//	fog/haze
//	fogvars ( 1.0 0.75 0.5 ) .001
//  skyfogvars ( 1.0 0.75 0.5 ) .01

	surfaceparm nodlight
	surfaceparm nolightmap
	surfaceparm noimpact
	surfaceparm sky
	nopicmip
	nomipmaps

	skyparms textures/whoveropsfx_env/fadeaway 512 -
	sunshader textures/skies_sd/batterysunfog
}

textures/whoveropsfx/dustskybox
{
	qer_editorimage textures/whoveropsfx/dust.tga
	q3map_lightrgb 0.92 0.88 1.0
	q3map_sunExt 0.92 0.88 1.0 175 315 50 3 16
	q3map_lightmapFilterRadius 0 8
	q3map_skylight 64 3
	q3map_lightSubdivive 128 // every 128 units

//	fog/haze
	fogvars ( .65 .51 0.35 ) .0001
    skyfogvars ( .65 0.51 0.35 ) .001

	surfaceparm nodlight
	surfaceparm nolightmap
	surfaceparm noimpact
	surfaceparm sky
	nopicmip
	nomipmaps

	skyparms textures/whoveropsfx_env/dust 512 -
	sunshader textures/skies_sd/batterysunfog
	{
		map textures/whoveropsfx/dustclouds.tga
		tcMod scroll 0.05 0.05
		rgbGen identity
		blendFunc blend
	}
}

// pink wave sand base
textures/whoveropsfx/pink_wavesand
{
	qer_editorimage textures/whoveropsfx/pinkish_wavesand.tga
	q3map_terrain
	q3map_nonplanar
	q3map_shadeAngle 120
//	q3map_splotchFix
	q3map_lightmapSampleSize 8
//	q3map_lightmapmergable
	q3map_tcGen ivector ( 512 0 0 ) ( 0 512 0 )
	q3map_alphaMod dotproduct2 ( 0 0 0.75 )
	surfaceparm gravelsteps
	{
		map textures/whoveropsfx/pinkish_flatsand.tga
		rgbGen identity
	}
	{
		map textures/whoveropsfx/pinkish_sandpatch.tga
		blendFunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA
		alphaFunc GT0
		rgbGen identity
		alphaGen vertex
		tcMod scale 0.25 0.25
	}
	{
		map $lightmap
		blendFunc GL_DST_COLOR GL_ZERO
		rgbGen identity
	}
}

// slope
textures/whoveropsfx/pink_patch
{
		qer_editorimage textures/whoveropsfx/pinkish_sandpatch.tga
		q3map_terrain
		q3map_nonplanar
		q3map_shadeAngle 120
		q3map_splotchFix
//		q3map_lightmapmergable
//		q3map_lightmapSampleSize 8
		surfaceparm gravelsteps
		surfaceparm dust
		q3map_tcGen ivector ( 512 0 0 ) ( 0 512 0 )
		q3map_alphaMod dotproduct2 ( 0 0 0.75 )
		{
			map textures/whoveropsfx/pinkish_wavesand.tga
			rgbGen identity
		}
		{
			map textures/whoveropsfx/pinkish_sandpatch.tga
			blendFunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA
			alphaFunc GT0
			rgbGen identity
			alphaGen vertex
			tcMod scale 0.25 0.25
		}
		{
			map $lightmap
			blendFunc GL_DST_COLOR GL_ZERO
			rgbGen identity
		}
}

//alpha brushes
textures/whoveropsfx/alpha_100
{
	qer_editorimage textures/whoveropsfx/white.tga
	q3map_alphaMod volume
	q3map_alphaMod set 0
	surfaceparm nodraw
	surfaceparm nonsolid
	surfaceparm trans
	qer_trans 0.75
}

textures/whoveropsfx/alpha_050
{
	qer_editorimage textures/whoveropsfx/grey50.tga
	q3map_alphaMod volume
	q3map_alphaMod set 1.0
	surfaceparm nodraw
	surfaceparm nonsolid
	surfaceparm trans
	qer_trans 0.75
}

textures/whoveropsfx/alpha_000
{
	qer_editorimage textures/whoveropsfx/black.tga
	q3map_alphaMod volume
	q3map_alphaMod set 1.0
	surfaceparm nodraw
	surfaceparm nonsolid
	surfaceparm trans
	qer_trans 0.75
}

// dust tracks
textures/whoveropsfx/dustrack
{
	qer_editorimage textures/whoveropsfx/dust_track.tga
	q3map_nonplanar
	q3map_shadeangle 120
	surfaceparm trans
	surfaceparm nonsolid
	surfaceparm pointlight
	surfaceparm nomarks
	polygonOffset
	sort decal
	{
		map textures/whoveropsfx/dust_track.tga
		blendFunc GL_ZERO GL_ONE_MINUS_SRC_COLOR
		rgbGen identity
	}
}

textures/whoveropsfx/dustrackend
{
	qer_editorimage textures/whoveropsfx/dust_trackend.tga
	q3map_nonplanar
	q3map_shadeangle 120
	surfaceparm trans
	surfaceparm nonsolid
	surfaceparm pointlight
	surfaceparm nomarks
	polygonOffset
	sort decal
	{
		map textures/whoveropsfx/dust_trackend.tga
		blendFunc GL_ZERO GL_ONE_MINUS_SRC_COLOR
		rgbGen identity
	}
}


