textures/qsn/black_light
{
	qer_editorimage textures/qsn/black_light.tga
	surfaceparm nolightmap
	surfaceparm nomarks
	q3map_lightimage textures/qsn/dense_blue_nebula.tga
	q3map_surfacelight 100
	{
		map $lightmap
		rgbGen identity
	}
	{
		map textures/qsn/black_light.tga
		blendFunc GL_DST_COLOR GL_ZERO
		rgbGen identity
	}
}

textures/qsn/bluezappy
{
	qer_editorimage textures/qsn/bluezap.tga
	cull disable
	{
		map textures/qsn/bluezap.tga
		blendfunc add
		rgbGen wave noise 0.2 1 0 10 
		tcMod scroll 0.4 0
	}
	{
		map textures/qsn/bluezap.tga
		blendfunc add
		rgbGen wave noise 0 1 6 15 
		tcMod scroll -0.5 0
	}
}

textures/qsn/bubbles2_1
{
	qer_editorimage textures/qsn/bubbles2.tga
	surfaceparm noimpact
	surfaceparm nolightmap
	cull none
	surfaceparm trans
	surfaceparm nonsolid
	surfaceparm nodlight
	deformvertexes autosprite
	deformvertexes move -1.093287 -41.198784 241.500214 sawtooth 0 1 1.000725 0.195925
	{
		clampmap textures/qsn/bubbles2.tga
		tcMod rotate 20.229958
		AlphaGen wave sawtooth 1.000000 0.000000 1.000725 0.195925
		rgbGen wave sawtooth 1.000000 0.000000 1.000725 0.195925
		tcMod stretch sawtooth 0.000000 1.138240 1.000725 0.195925
		blendfunc add
	}
}

textures/qsn/bubbles2_3
{
	qer_editorimage textures/qsn/bubbles2.tga
	surfaceparm noimpact
	surfaceparm nolightmap
	cull none
	surfaceparm trans
	surfaceparm nonsolid
	surfaceparm nodlight
	deformvertexes autosprite
	deformvertexes move 1.625161 -6.980746 107.586830 sawtooth 0 1 1.213530 0.445164
	{
		clampmap textures/qsn/bubbles2.tga
		tcMod rotate 19.405041
		AlphaGen wave sawtooth 1.000000 0.000000 1.213530 0.445164
		rgbGen wave sawtooth 1.000000 0.000000 1.213530 0.445164
		tcMod stretch sawtooth 0.000000 2.052110 1.213530 0.445164
		blendfunc add
	}
}

textures/qsn/bubbles2_10
{
	qer_editorimage textures/qsn/bubbles2.tga
	surfaceparm noimpact
	surfaceparm nolightmap
	cull none
	surfaceparm trans
	surfaceparm nonsolid
	surfaceparm nodlight
	deformvertexes autosprite
	deformvertexes move 10.265741 7.714635 331.291351 sawtooth 0 1 0.524331 0.144779
	{
		clampmap textures/qsn/bubbles2.tga
		tcMod rotate 12.796563
		AlphaGen wave sawtooth 1.000000 0.000000 0.524331 0.144779
		rgbGen wave sawtooth 1.000000 0.000000 0.524331 0.144779
		tcMod stretch sawtooth 0.000000 0.329548 0.524331 0.144779
		blendfunc add
	}
}

textures/qsn/bubbles2_11
{
	qer_editorimage textures/qsn/bubbles2.tga
	surfaceparm noimpact
	surfaceparm nolightmap
	cull none
	surfaceparm trans
	surfaceparm nonsolid
	surfaceparm nodlight
	deformvertexes autosprite
	deformvertexes move 25.100649 4.780672 186.159500 sawtooth 0 1 0.907308 0.255448
	{
		clampmap textures/qsn/bubbles2.tga
		tcMod rotate 16.214331
		AlphaGen wave sawtooth 1.000000 0.000000 0.907308 0.255448
		rgbGen wave sawtooth 1.000000 0.000000 0.907308 0.255448
		tcMod stretch sawtooth 0.000000 2.025596 0.907308 0.255448
		blendfunc add
	}
}

textures/qsn/bubbles2_12
{
	qer_editorimage textures/qsn/bubbles2.tga
	surfaceparm noimpact
	surfaceparm nolightmap
	cull none
	surfaceparm trans
	surfaceparm nonsolid
	surfaceparm nodlight
	deformvertexes autosprite
	deformvertexes move 12.983425 -1.691125 95.949432 sawtooth 0 1 0.845538 0.495670
	{
		clampmap textures/qsn/bubbles2.tga
		tcMod rotate -2.724845
		AlphaGen wave sawtooth 1.000000 0.000000 0.845538 0.495670
		rgbGen wave sawtooth 1.000000 0.000000 0.845538 0.495670
		tcMod stretch sawtooth 0.000000 0.903418 0.845538 0.495670
		blendfunc add
	}
}

textures/qsn/clip-slick
{
	qer_trans 0.40
	surfaceparm nodraw
	surfaceparm nolightmap
	surfaceparm nonsolid
	surfaceparm trans
	surfaceparm nomarks
	surfaceparm noimpact
	surfaceparm playerclip
	surfaceparm slick
}

textures/qsn/concr_underwatr_refl2
{
	qer_editorimage textures/qsn/concr_underwatr.tga	
        {
		map textures/qsn/pool3d_ripple.tga
		tcmod scale -.5 -.5
		tcmod scroll .02 .02	
	}      
	{
		map textures/qsn/pool3d_ripple.tga
		blendFunc GL_one GL_ONE
		tcmod scale -.5 -.5
		tcmod scroll -.02 -.02
	}
	{
		map textures/qsn/concr_underwatr.tga
		blendFunc GL_one GL_src_color
		rgbgen identity
	}
	{
		rgbGen identity
		map $lightmap
		blendfunc gl_dst_color gl_zero
	}                 
}

textures/qsn/corona1
{
	qer_editorimage textures/qsn/flare2.tga
	surfaceparm nonsolid
	surfaceparm trans
	cull disable
	q3map_lightimage textures/qsn/sky_light.tga
	q3map_surfacelight 20
	deformVertexes autosprite
	{
		clampmap textures/qsn/flare2.tga
		blendfunc add
		rgbGen wave noise 0.2 1 0 10 
		tcMod rotate 4
		tcMod stretch sin 0.8 0.3 0 0.8 
	}
}

textures/qsn/corona2
{
	qer_editorimage textures/qsn/flare2.tga
	surfaceparm nonsolid
	surfaceparm trans
	cull disable
	q3map_lightimage textures/qsn/sky_light.tga
	q3map_surfacelight 20
	deformVertexes autosprite
	{
		clampmap textures/qsn/flare2.tga
		blendfunc add
		rgbGen wave noise 0.5 1 0 15 
		tcMod rotate 4
		tcMod stretch sin 0.8 0.3 0 1 
	}
}

textures/qsn/creditscreen
{
	surfaceparm nomarks
	q3map_lightimage textures/qsn/sky_light.tga
        q3map_surfacelight 100
	{
		map textures/qsn/creditscreen.tga
	       	rgbGen identity
		tcmod scroll 0 0.01
	}
	{
		map $lightmap
	        rgbGen identity
		blendfunc gl_dst_color gl_zero
	}
	{
		map $lightmap
		tcgen environment
		tcmod scale 1 1
	        rgbGen wave sin .25 0 0 0
		blendfunc add
	}	          		
}

textures/qsn/e8metal03c_shiney
{
	qer_editorimage textures/qsn/e8metal03c.tga
	{
		map textures/qsn/tinfx.tga
		rgbGen identity
		tcGen environment 
	}
	{
		map textures/qsn/e8metal03c.tga
		blendfunc blend
		rgbGen identity
	}
	{
		map $lightmap 
		blendfunc gl_dst_color gl_one_minus_dst_alpha
		rgbGen identity
		tcGen lightmap 
	}
}

textures/qsn/e8tmtllight2
{
	qer_editorimage textures/qsn/e8tmtllight2.tga
	q3map_lightimage textures/qsn/sky_light.tga
	surfaceparm nomarks
	q3map_surfacelight 950
	{
		map textures/qsn/e8tmtllight2.tga
	}
	{
		map $lightmap 
		blendfunc filter
		tcGen lightmap 
	}
	{
		map textures/qsn/e8tmtllight2.blend.tga
		blendfunc add
	}
}

textures/qsn/e8tmtllight2b
{
	qer_editorimage textures/qsn/e8tmtllight2b.tga
	q3map_lightimage textures/qsn/sky_light.tga
	surfaceparm nomarks
	q3map_surfacelight 950
	{
		map textures/qsn/e8tmtllight2b.tga
	}
	{
		map $lightmap 
		blendfunc filter
		tcGen lightmap 
	}
	{
		map textures/qsn/e8tmtllight2b.blend.tga
		blendfunc add
	}
}

textures/qsn/energy_blue
{
	qer_editorimage textures/qsn/pool3d_ripple.tga
	qer_trans .5
	q3map_globaltexture
	surfaceparm trans
	surfaceparm nonsolid
	q3map_surfacelight 800
	cull disable	
	{ 
		map textures/qsn/pool3d_ripple.tga
		blendFunc GL_dst_color GL_one
		rgbgen identity
		tcmod scale 1.5 .5
		tcmod scroll -.2 .4
	}
	{ 
		map textures/qsn/pool3d_ripple.tga
		blendFunc GL_dst_color GL_one
		tcmod scale .5 .5
		tcmod scroll -.4 -.5
	}
}

textures/qsn/firepart_blue_1
{
	qer_editorimage textures/qsn/firepart_blue_1.tga
	surfaceparm noimpact
	surfaceparm nolightmap
	cull none
	surfaceparm trans
	surfaceparm nonsolid
	surfaceparm nodlight
	deformvertexes autosprite
	deformvertexes move 10.538234 -20.305841 64.466774 sawtooth 0 1 0.931455 1.039813
	{
		clampmap textures/qsn/firepart_blue_1.tga
		tcMod rotate 52.131718
		AlphaGen wave sawtooth 1.000000 0.000000 0.931455 1.039813
		rgbGen wave sawtooth 2.000000 -2.000000 0.931455 1.039813
		tcMod stretch sawtooth 1.000000 0.000000 0.931455 1.039813
		blendfunc add
	}
}

textures/qsn/firepart_blue_2
{
	qer_editorimage textures/qsn/firepart_blue_1.tga
	surfaceparm noimpact
	surfaceparm nolightmap
	cull none
	surfaceparm trans
	surfaceparm nonsolid
	surfaceparm nodlight
	deformvertexes autosprite
	deformvertexes move -6.804727 -19.816284 30.435993 sawtooth 0 1 0.822443 2.003020
	{
		clampmap textures/qsn/firepart_blue_1.tga
		tcMod rotate 56.191292
		AlphaGen wave sawtooth 1.000000 0.000000 0.822443 2.003020
		rgbGen wave sawtooth 2.000000 -2.000000 0.822443 2.003020
		tcMod stretch sawtooth 1.000000 0.000000 0.822443 2.003020
		blendfunc add
	}
}

textures/qsn/firepart_blue_3
{
	qer_editorimage textures/qsn/firepart_blue_1.tga
	surfaceparm noimpact
	surfaceparm nolightmap
	cull none
	surfaceparm trans
	surfaceparm nonsolid
	surfaceparm nodlight
	deformvertexes autosprite
	deformvertexes move -1.625973 0.087306 68.125160 sawtooth 0 1 0.901944 1.089908
	{
		clampmap textures/qsn/firepart_blue_1.tga
		tcMod rotate 47.076939
		AlphaGen wave sawtooth 1.000000 0.000000 0.901944 1.089908
		rgbGen wave sawtooth 2.000000 -2.000000 0.901944 1.089908
		tcMod stretch sawtooth 1.000000 0.000000 0.901944 1.089908
		blendfunc add
	}
}

textures/qsn/firepart_blue_4
{
	qer_editorimage textures/qsn/firepart_blue_1.tga
	surfaceparm noimpact
	surfaceparm nolightmap
	cull none
	surfaceparm trans
	surfaceparm nonsolid
	surfaceparm nodlight
	deformvertexes autosprite
	deformvertexes move -4.615116 29.199389 44.859570 sawtooth 0 1 0.167211 1.313075
	{
		clampmap textures/qsn/firepart_blue_1.tga
		tcMod rotate 51.083408
		AlphaGen wave sawtooth 1.000000 0.000000 0.167211 1.313075
		rgbGen wave sawtooth 2.000000 -2.000000 0.167211 1.313075
		tcMod stretch sawtooth 1.000000 0.000000 0.167211 1.313075
		blendfunc add
	}
}

textures/qsn/firepart_blue_5
{
	qer_editorimage textures/qsn/firepart_blue_1.tga
	surfaceparm noimpact
	surfaceparm nolightmap
	cull none
	surfaceparm trans
	surfaceparm nonsolid
	surfaceparm nodlight
	deformvertexes autosprite
	deformvertexes move -17.407856 7.075286 54.888248 sawtooth 0 1 0.478957 1.477682
	{
		clampmap textures/qsn/firepart_blue_1.tga
		tcMod rotate 59.930416
		AlphaGen wave sawtooth 1.000000 0.000000 0.478957 1.477682
		rgbGen wave sawtooth 2.000000 -2.000000 0.478957 1.477682
		tcMod stretch sawtooth 1.000000 0.000000 0.478957 1.477682
		blendfunc add
	}
}

textures/qsn/firepart_red_1
{
	qer_editorimage textures/qsn/firepart_red_1.tga
	surfaceparm noimpact
	surfaceparm nolightmap
	cull none
	surfaceparm trans
	surfaceparm nonsolid
	surfaceparm nodlight
	deformvertexes autosprite
	deformvertexes move 10.538234 -20.305841 64.466774 sawtooth 0 1 0.931455 1.039813
	{
		clampmap textures/qsn/firepart_red_1.tga
		tcMod rotate 52.131718
		AlphaGen wave sawtooth 1.000000 0.000000 0.931455 1.039813
		rgbGen wave sawtooth 2.000000 -2.000000 0.931455 1.039813
		tcMod stretch sawtooth 1.000000 0.000000 0.931455 1.039813
		blendfunc add
	}
}

textures/qsn/firepart_red_2
{
	qer_editorimage textures/qsn/firepart_red_1.tga
	surfaceparm noimpact
	surfaceparm nolightmap
	cull none
	surfaceparm trans
	surfaceparm nonsolid
	surfaceparm nodlight
	deformvertexes autosprite
	deformvertexes move -6.804727 -19.816284 30.435993 sawtooth 0 1 0.822443 2.003020
	{
		clampmap textures/qsn/firepart_red_1.tga
		tcMod rotate 56.191292
		AlphaGen wave sawtooth 1.000000 0.000000 0.822443 2.003020
		rgbGen wave sawtooth 2.000000 -2.000000 0.822443 2.003020
		tcMod stretch sawtooth 1.000000 0.000000 0.822443 2.003020
		blendfunc add
	}
}

textures/qsn/firepart_red_3
{
	qer_editorimage textures/qsn/firepart_red_1.tga
	surfaceparm noimpact
	surfaceparm nolightmap
	cull none
	surfaceparm trans
	surfaceparm nonsolid
	surfaceparm nodlight
	deformvertexes autosprite
	deformvertexes move -1.625973 0.087306 68.125160 sawtooth 0 1 0.901944 1.089908
	{
		clampmap textures/qsn/firepart_red_1.tga
		tcMod rotate 47.076939
		AlphaGen wave sawtooth 1.000000 0.000000 0.901944 1.089908
		rgbGen wave sawtooth 2.000000 -2.000000 0.901944 1.089908
		tcMod stretch sawtooth 1.000000 0.000000 0.901944 1.089908
		blendfunc add
	}
}

textures/qsn/firepart_red_4
{
	qer_editorimage textures/qsn/firepart_red_1.tga
	surfaceparm noimpact
	surfaceparm nolightmap
	cull none
	surfaceparm trans
	surfaceparm nonsolid
	surfaceparm nodlight
	deformvertexes autosprite
	deformvertexes move -4.615116 29.199389 44.859570 sawtooth 0 1 0.167211 1.313075
	{
		clampmap textures/qsn/firepart_red_1.tga
		tcMod rotate 51.083408
		AlphaGen wave sawtooth 1.000000 0.000000 0.167211 1.313075
		rgbGen wave sawtooth 2.000000 -2.000000 0.167211 1.313075
		tcMod stretch sawtooth 1.000000 0.000000 0.167211 1.313075
		blendfunc add
	}
}

textures/qsn/firepart_red_5
{
	qer_editorimage textures/qsn/firepart_red_1.tga
	surfaceparm noimpact
	surfaceparm nolightmap
	cull none
	surfaceparm trans
	surfaceparm nonsolid
	surfaceparm nodlight
	deformvertexes autosprite
	deformvertexes move -17.407856 7.075286 54.888248 sawtooth 0 1 0.478957 1.477682
	{
		clampmap textures/qsn/firepart_red_1.tga
		tcMod rotate 59.930416
		AlphaGen wave sawtooth 1.000000 0.000000 0.478957 1.477682
		rgbGen wave sawtooth 2.000000 -2.000000 0.478957 1.477682
		tcMod stretch sawtooth 1.000000 0.000000 0.478957 1.477682
		blendfunc add
	}
}

textures/qsn/floor01_slick
{
	qer_editorimage textures/qsn/floor01_slick-img.tga
	surfaceparm slick		
	{
		map $lightmap
		rgbGen identity
	}
	{
		map textures/qsn/floor01.tga
		blendFunc GL_DST_COLOR GL_ZERO
		rgbGen identity
	}
}

textures/qsn/fog2
{
		qer_trans 0.5
		qer_editorimage textures/qsn/fog1.tga
		surfaceparm trans
		surfaceparm nonsolid
		surfaceparm fog
		surfaceparm nolightmap
		fogparms ( 0 0 0 ) 200
}

textures/qsn/glas-plexi
{
	qer_trans 0.5
	qer_editorimage textures/qsn/glass_opaque.tga
	cull none
	surfaceparm trans
	surfaceparm nolightmap
	surfaceparm nomarks
	{
		map textures/qsn/glass_opaque.tga
		blendFunc GL_ONE GL_ONE
		tcgen environment
		rgbgen identity
	}
}

textures/qsn/glas-plexi_nonsolid
{
	qer_trans 0.5
	qer_editorimage textures/qsn/glass_opaque.tga
	cull none
	surfaceparm nonsolid
	surfaceparm trans
	surfaceparm nolightmap
	surfaceparm nomarks
	{
		map textures/qsn/glass_opaque.tga
		blendFunc GL_ONE GL_ONE
		tcgen environment
		rgbgen identity
	}
}

textures/qsn/glass-cardigan
{
	qer_editorimage textures/qsn/shiny3.tga
	surfaceparm trans
	surfaceparm nomarks
	cull disable
	qer_trans 0.5
	{
		map textures/qsn/tinfx2.tga
		blendfunc add
		rgbGen const ( 0.564706 0.564706 0.564706 )
		tcMod scale 1.5 1.5
		tcGen environment 
	}
	{
		map textures/qsn/mirror.tga
		blendfunc add
		rgbGen const ( 0.243137 0.243137 0.243137 )
	}
	{
		map $lightmap 
		blendfunc filter
		rgbGen identity
		tcGen lightmap 
	}
}

textures/qsn/ice4
{
	q3map_globaltexture
	qer_trans 0.8
	qer_editorimage textures/qsn/glass2.tga
	surfaceparm slick
	surfaceparm trans
	surfaceparm nomarks
	q3map_lightimage textures/qsn/dense_blue_nebula.tga
	q3map_surfacelight 60
	cull twosided

	{
		map textures/qsn/glass2.tga
		blendfunc add
	}
	{
		map textures/qsn/tin1d.tga
		blendFunc add
		tcgen environment
		rgbGen identity
	}
}

textures/qsn/ice4-nonsolid
{
	q3map_globaltexture
	qer_trans 0.8
	qer_editorimage textures/qsn/glass2.tga
	surfaceparm nonsolid
	surfaceparm trans
	surfaceparm nomarks
	q3map_lightimage textures/qsn/dense_blue_nebula.tga
	q3map_surfacelight 60
	cull twosided

	{
		map textures/qsn/glass2.tga
		blendfunc add
	}
	{
		map textures/qsn/tin1d.tga
		blendFunc add
		tcgen environment
		rgbGen identity
	}
}

textures/qsn/icicle1
{
	qer_editorimage textures/qsn/icicle1.tga
	qer_nocarve
	surfaceparm nonsolid
	surfaceparm noimpact
	surfaceparm nomarks
	surfaceparm trans
	cull disable
	{
		map textures/qsn/icicle1.tga
		alphaFunc GE128
		blendFunc add
		rgbgen identity
	}
}

textures/qsn/icicle2
{
	qer_editorimage textures/qsn/icicle2.tga
	qer_nocarve
	surfaceparm nonsolid
	surfaceparm noimpact
	surfaceparm nomarks
	surfaceparm trans
	cull disable
	{
		map textures/qsn/icicle2.tga
		alphaFunc GE128
		blendFunc add
		rgbgen identity
	}
}

textures/qsn/icicle3
{
	qer_editorimage textures/qsn/icicle3.tga
	qer_nocarve
	surfaceparm nonsolid
	surfaceparm noimpact
	surfaceparm nomarks
	surfaceparm trans
	cull disable
	{
		map textures/qsn/icicle3.tga
		alphaFunc GE128
		blendFunc add
		rgbgen identity
	}
}

textures/qsn/icicle4
{
	qer_editorimage textures/qsn/icicle4.tga
	qer_nocarve
	surfaceparm nonsolid
	surfaceparm noimpact
	surfaceparm nomarks
	surfaceparm trans
	cull disable
	{
		map textures/qsn/icicle4.tga
		alphaFunc GE128
		blendFunc add
		rgbgen identity
	}
}

textures/qsn/icicle5
{
	qer_editorimage textures/qsn/icicle5.tga
	qer_nocarve
	surfaceparm nonsolid
	surfaceparm noimpact
	surfaceparm nomarks
	surfaceparm trans
	cull disable
	{
		map textures/qsn/icicle5.tga
		alphaFunc GE128
		blendFunc add
		rgbgen identity
	}
}

textures/qsn/icicle6
{
	qer_editorimage textures/qsn/icicle6.tga
	qer_nocarve
	surfaceparm nonsolid
	surfaceparm noimpact
	surfaceparm nomarks
	surfaceparm trans
	cull disable
	{
		map textures/qsn/icicle6.tga
		alphaFunc GE128
		blendFunc add
		rgbgen identity
	}
}

textures/qsn/lavad3
{
	qer_editorimage textures/qsn/lavad3.tga
	q3map_globaltexture
	surfaceparm trans	
	surfaceparm noimpact
	surfaceparm water
	q3map_surfacelight 800
	cull disable	
	tesssize 128
	cull disable
	deformVertexes wave 100 sin 6 4 .1 0.5	
        {
		map textures/qsn/lavad3.tga
                tcmod scale 0.5 0.5
                tcmod scroll 0 0
                tcMod turb 0.1 .1 0.01 .01
                blendFunc GL_ONE GL_ZERO
                rgbGen identity
	}
}

textures/qsn/licht-dingen
{
	qer_editorimage textures/qsn/lichtjps.tga
	surfaceparm nonsolid
	surfaceparm trans
	surfaceparm nolightmap
	cull disable
	q3map_lightimage textures/qsn/sky_light.tga
	q3map_surfacelight 50
	deformVertexes autosprite
	{
		map textures/qsn/lichtjps.tga
		blendfunc add
	}
}

textures/qsn/licht-dingen2
{
	qer_editorimage textures/qsn/lichtjps.tga
	surfaceparm nonsolid
	surfaceparm trans
	surfaceparm nolightmap
	cull disable
	q3map_lightimage textures/qsn/dense_blue_nebula.tga
	q3map_surfacelight 50
	deformVertexes autosprite
	{
		map textures/qsn/lichtjps.tga
		blendfunc add
	}
}

textures/qsn/licht_a
{      
	qer_trans 0.5
	qer_editorimage textures/qsn/licht1.tga
	surfaceparm nolightmap
	surfaceparm nonsolid
	surfaceparm trans	
        surfaceparm alphashadow
        surfaceparm nomarks
	q3map_lightimage textures/qsn/dense_blue_nebula.tga
	q3map_surfacelight 600
	cull twosided
	{
		map textures/qsn/licht1.tga
		alphaFunc GE128
		depthWrite
		rgbGen identity
                  
	}
        {
		map $lightmap
		rgbGen identity
		blendFunc GL_DST_COLOR GL_ZERO
		depthFunc equal
	}

}

textures/qsn/licht_e
{      
	qer_trans 0.5
	qer_editorimage textures/qsn/licht1.tga
	surfaceparm nolightmap
	surfaceparm nonsolid
	surfaceparm trans	
        surfaceparm alphashadow
        surfaceparm nomarks
	q3map_lightimage textures/qsn/dense_blue_nebula.tga
	q3map_surfacelight 200
	cull twosided
	{
		map textures/qsn/licht1.tga
		alphaFunc GE128
		depthWrite
		rgbGen identity
                  
	}
        {
		map $lightmap
		rgbGen identity
		blendFunc GL_DST_COLOR GL_ZERO
		depthFunc equal
	}

}

textures/qsn/licht_ende
{      
	qer_trans 0.5
	qer_editorimage textures/qsn/licht1.tga
	surfaceparm nolightmap
	surfaceparm nonsolid
	surfaceparm trans	
        surfaceparm alphashadow
        surfaceparm nomarks
	q3map_lightimage textures/qsn/dense_blue_nebula.tga
	q3map_surfacelight 300
	cull twosided
	{
		map textures/qsn/licht1.tga
		alphaFunc GE128
		depthWrite
		rgbGen identity
                  
	}
        {
		map $lightmap
		rgbGen identity
		blendFunc GL_DST_COLOR GL_ZERO
		depthFunc equal
	}

}

textures/qsn/licht_n
{      
	qer_trans 0.5
	qer_editorimage textures/qsn/licht1.tga
	surfaceparm nolightmap
	surfaceparm nonsolid
	surfaceparm trans	
        surfaceparm alphashadow
        surfaceparm nomarks
	q3map_lightimage textures/qsn/dense_blue_nebula.tga
	q3map_surfacelight 150
	cull twosided
	{
		map textures/qsn/licht1.tga
		alphaFunc GE128
		depthWrite
		rgbGen identity
                  
	}
        {
		map $lightmap
		rgbGen identity
		blendFunc GL_DST_COLOR GL_ZERO
		depthFunc equal
	}

}

textures/qsn/licht_s
{      
	qer_trans 0.5
	qer_editorimage textures/qsn/licht1.tga
	surfaceparm nolightmap
	surfaceparm nonsolid
	surfaceparm trans	
        surfaceparm alphashadow
        surfaceparm nomarks
	q3map_lightimage textures/qsn/dense_blue_nebula.tga
	q3map_surfacelight 300
	cull twosided
	{
		map textures/qsn/licht1.tga
		alphaFunc GE128
		depthWrite
		rgbGen identity
                  
	}
        {
		map $lightmap
		rgbGen identity
		blendFunc GL_DST_COLOR GL_ZERO
		depthFunc equal
	}

}

textures/qsn/licht_t
{      
	qer_trans 0.5
	qer_editorimage textures/qsn/licht1.tga
	surfaceparm nolightmap
	surfaceparm nonsolid
	surfaceparm trans	
        surfaceparm alphashadow
        surfaceparm nomarks
	q3map_lightimage textures/qsn/dense_blue_nebula.tga
	q3map_surfacelight 250
	cull twosided
	{
		map textures/qsn/licht1.tga
		alphaFunc GE128
		depthWrite
		rgbGen identity
                  
	}
        {
		map $lightmap
		rgbGen identity
		blendFunc GL_DST_COLOR GL_ZERO
		depthFunc equal
	}

}

textures/qsn/licht_t2
{      
	qer_trans 0.5
	qer_editorimage textures/qsn/licht1.tga
	surfaceparm nolightmap
	surfaceparm nonsolid
	surfaceparm trans	
        surfaceparm alphashadow
        surfaceparm nomarks
	q3map_lightimage textures/qsn/dense_blue_nebula.tga
	q3map_surfacelight 200
	cull twosided
	{
		map textures/qsn/licht1.tga
		alphaFunc GE128
		depthWrite
		rgbGen identity
                  
	}
        {
		map $lightmap
		rgbGen identity
		blendFunc GL_DST_COLOR GL_ZERO
		depthFunc equal
	}

}

textures/qsn/licht_y
{      
	qer_trans 0.5
	qer_editorimage textures/qsn/licht1.tga
	surfaceparm nolightmap
	surfaceparm nonsolid
	surfaceparm trans	
        surfaceparm alphashadow
        surfaceparm nomarks
	q3map_lightimage textures/qsn/dense_blue_nebula.tga
	q3map_surfacelight 200
	cull twosided
	{
		map textures/qsn/licht1.tga
		alphaFunc GE128
		depthWrite
		rgbGen identity
                  
	}
        {
		map $lightmap
		rgbGen identity
		blendFunc GL_DST_COLOR GL_ZERO
		depthFunc equal
	}

}

textures/qsn/light2_blue
{
	q3map_lightimage textures/qsn/sky_light.tga
	q3map_lightsubdivide 128
	q3map_surfacelight 10000
	{
		map $lightmap
		rgbGen identity
	}
	{
		map textures/qsn/light2_blue.tga
		blendFunc GL_DST_COLOR GL_ZERO
		rgbGen identity
	}
	{
		map textures/qsn/light2_blueblend.tga
		blendfunc GL_ONE GL_ONE
	}
}

textures/qsn/metal8
{
	surfaceparm metalsteps
	{
		map textures/qsn/tinfx.tga
		tcGen environment
		blendFunc GL_ONE GL_ZERO
		rgbGen identity
	}
	{
		map textures/qsn/metal8.tga
		blendFunc blend
		rgbGen identity
	}
	{
		map $lightmap
		blendFunc GL_DST_COLOR GL_ZERO
		rgbGen identity
	}
}

textures/qsn/nebula2_blue_lightning
{
	qer_editorimage textures/qsn/dense_blue_nebula.tga
	surfaceparm noimpact
	surfaceparm nolightmap
	surfaceparm nomarks
	q3map_sun 0.682353 0.807843 1 110 180 80
	skyParms env/qsn/purewhitej 1200 -
	{
		map textures/qsn/circlegradlightningblur3.tga
		blendfunc add
		rgbGen wave noise 0 1 0 5 
		tcMod scale 0.32 0.32
		tcMod rotate -20
	}
	{
		map textures/qsn/dense_blue_nebula.tga
		blendfunc filter
		tcMod scroll 0.02 0.03
	}
}

textures/qsn/polaris_jumpad_neutr
{
	qer_editorimage textures/qsn/polaris_jumpad_neutr.tga
	surfaceparm nodamage
	{
		map $lightmap
		rgbGen identity	
	}
	{
		map textures/qsn/polaris_jumpad_neutr.tga
		blendFunc GL_DST_COLOR GL_ZERO
		rgbGen identity
	}
	{
		animMap 2 textures/qsn/pad_neutr1.tga textures/qsn/pad_neutr2.tga textures/qsn/pad_neutr3.tga textures/qsn/pad_neutr4.tga
		rgbGen wave sin 0.5 0.5 0.5 0.5 
		blendfunc add
	}
}

textures/qsn/polaris_tinxx
{   
        {
                map textures/qsn/tin1d.tga       
                tcGen environment
                rgbGen vertex
	}  
       	{
		map textures/qsn/polaris_tinxx.tga
                blendFunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA
		rgbGen identity
	}
        {
		map $lightmap
                blendFunc GL_DST_COLOR GL_ONE_MINUS_DST_ALPHA
		rgbGen identity
	}
}

textures/qsn/polaris_tinxx_slick
{   
	qer_editorimage textures/qsn/polaris_tinxx_slick-img.tga
	surfaceparm slick	
        {
                map textures/qsn/tin1d.tga       
                tcGen environment
                rgbGen vertex
	}  
       	{
		map textures/qsn/polaris_tinxx.tga
               	blendFunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA
		rgbGen identity
	}
        {
		map $lightmap
               	blendFunc GL_DST_COLOR GL_ONE_MINUS_DST_ALPHA
		rgbGen identity
	}
}

textures/qsn/runes-decal
{
	surfaceparm nomarks   
	surfaceparm trans
	surfaceparm nonsolid
	surfaceparm pointlight
	qer_trans 0.5
	qer_editorimage textures/qsn/col_i_rune01_lit.blend.tga
	q3map_surfacelight 100
	{
		map textures/qsn/col_i_rune01_lit.blend.tga
		blendfunc add
            	rgbGen wave sin .5 .3 0 .1
	}
}

textures/qsn/snow1
{
	qer_editorimage textures/qsn/snow1.tga
	q3map_lightimage textures/qsn/dense_blue_nebula.tga
	q3map_surfacelight 100	
	{
		map $lightmap
		rgbGen identity
	}
	{
		map textures/qsn/snow1.tga
		blendFunc GL_DST_COLOR GL_ZERO
		rgbGen identity
	}
}

textures/qsn/snowflake1_10
{
	qer_editorimage textures/qsn/snowflake1.tga
	surfaceparm noimpact
	surfaceparm nolightmap
	cull none
	surfaceparm trans
	surfaceparm nonsolid
	surfaceparm nodlight
	deformvertexes autosprite
	deformvertexes move -1.038256 -4.559022 -380 sawtooth 0 1 0.279855 0.12
	{
		clampmap textures/qsn/snowflake1.tga
		tcMod rotate 0.000000
		AlphaGen wave sawtooth 1.000000 0.000000 0.279855 0.327086
		rgbGen wave sawtooth 1.000000 0.000000 0.279855 0.327086
		tcMod stretch sawtooth 0.800000 0.340024 0.279855 0.327086
		blendfunc add
	}
}

textures/qsn/snowflake1_20
{
	qer_editorimage textures/qsn/snowflake1.tga
	surfaceparm noimpact
	surfaceparm nolightmap
	cull none
	surfaceparm trans
	surfaceparm nonsolid
	surfaceparm nodlight
	deformvertexes autosprite
	deformvertexes move -2.382465 0.913984 -380 sawtooth 0 1 0.086856 0.13
	{
		clampmap textures/qsn/snowflake1.tga
		tcMod rotate 0.000000
		AlphaGen wave sawtooth 1.000000 0.000000 0.086856 0.584348
		rgbGen wave sawtooth 1.000000 0.000000 0.086856 0.584348
		tcMod stretch sawtooth 0.800000 0.370201 0.086856 0.584348
		blendfunc add
	}
}

textures/qsn/snowflake1_30
{
	qer_editorimage textures/qsn/snowflake1.tga
	surfaceparm noimpact
	surfaceparm nolightmap
	cull none
	surfaceparm trans
	surfaceparm nonsolid
	surfaceparm nodlight
	deformvertexes autosprite
	deformvertexes move -2.679708 -1.398174 -380 sawtooth 0 1 0.287179 0.125
	{
		clampmap textures/qsn/snowflake1.tga
		tcMod rotate 0.000000
		AlphaGen wave sawtooth 1.000000 0.000000 0.287179 0.414235
		rgbGen wave sawtooth 1.000000 0.000000 0.287179 0.414235
		tcMod stretch sawtooth 0.800000 0.317253 0.287179 0.414235
		blendfunc add
	}
}

textures/qsn/snowflake1_40
{
	qer_editorimage textures/qsn/snowflake1.tga
	surfaceparm noimpact
	surfaceparm nolightmap
	cull none
	surfaceparm trans
	surfaceparm nonsolid
	surfaceparm nodlight
	deformvertexes autosprite
	deformvertexes move 3.818927 -1.426533 -380 sawtooth 0 1 0.465835 0.13
	{
		clampmap textures/qsn/snowflake1.tga
		tcMod rotate 0.000000
		AlphaGen wave sawtooth 1.000000 0.000000 0.465835 0.277784
		rgbGen wave sawtooth 1.000000 0.000000 0.465835 0.277784
		tcMod stretch sawtooth 0.800000 0.262371 0.465835 0.277784
		blendfunc add
	}
}

textures/qsn/snowflake1_100
{
	qer_editorimage textures/qsn/snowflake1.tga
	surfaceparm noimpact
	surfaceparm nolightmap
	cull none
	surfaceparm trans
	surfaceparm nonsolid
	surfaceparm nodlight
	deformvertexes autosprite
	deformvertexes move -1.038256 -4.559022 -312 sawtooth 0 1 0.279855 0.12
	{
		clampmap textures/qsn/snowflake1.tga
		tcMod rotate 0.000000
		AlphaGen wave sawtooth 1.000000 0.000000 0.279855 0.327086
		rgbGen wave sawtooth 1.000000 0.000000 0.279855 0.327086
		tcMod stretch sawtooth 0.800000 0.340024 0.279855 0.327086
		blendfunc add
	}
}

textures/qsn/snowflake1_200
{
	qer_editorimage textures/qsn/snowflake1.tga
	surfaceparm noimpact
	surfaceparm nolightmap
	cull none
	surfaceparm trans
	surfaceparm nonsolid
	surfaceparm nodlight
	deformvertexes autosprite
	deformvertexes move -2.382465 0.913984 -312 sawtooth 0 1 0.086856 0.13
	{
		clampmap textures/qsn/snowflake1.tga
		tcMod rotate 0.000000
		AlphaGen wave sawtooth 1.000000 0.000000 0.086856 0.584348
		rgbGen wave sawtooth 1.000000 0.000000 0.086856 0.584348
		tcMod stretch sawtooth 0.800000 0.370201 0.086856 0.584348
		blendfunc add
	}
}

textures/qsn/snowflake1_300
{
	qer_editorimage textures/qsn/snowflake1.tga
	surfaceparm noimpact
	surfaceparm nolightmap
	cull none
	surfaceparm trans
	surfaceparm nonsolid
	surfaceparm nodlight
	deformvertexes autosprite
	deformvertexes move -2.679708 -1.398174 -312 sawtooth 0 1 0.287179 0.125
	{
		clampmap textures/qsn/snowflake1.tga
		tcMod rotate 0.000000
		AlphaGen wave sawtooth 1.000000 0.000000 0.287179 0.414235
		rgbGen wave sawtooth 1.000000 0.000000 0.287179 0.414235
		tcMod stretch sawtooth 0.800000 0.317253 0.287179 0.414235
		blendfunc add
	}
}

textures/qsn/snowflake1_400
{
	qer_editorimage textures/qsn/snowflake1.tga
	surfaceparm noimpact
	surfaceparm nolightmap
	cull none
	surfaceparm trans
	surfaceparm nonsolid
	surfaceparm nodlight
	deformvertexes autosprite
	deformvertexes move 3.818927 -1.426533 -312 sawtooth 0 1 0.465835 0.13
	{
		clampmap textures/qsn/snowflake1.tga
		tcMod rotate 0.000000
		AlphaGen wave sawtooth 1.000000 0.000000 0.465835 0.277784
		rgbGen wave sawtooth 1.000000 0.000000 0.465835 0.277784
		tcMod stretch sawtooth 0.800000 0.262371 0.465835 0.277784
		blendfunc add
	}
}

textures/qsn/snowflake1_1000
{
	qer_editorimage textures/qsn/snowflake1.tga
	surfaceparm noimpact
	surfaceparm nolightmap
	cull none
	surfaceparm trans
	surfaceparm nonsolid
	surfaceparm nodlight
	deformvertexes autosprite
	deformvertexes move -1.038256 -4.559022 -280 sawtooth 0 1 0.279855 0.12
	{
		clampmap textures/qsn/snowflake1.tga
		tcMod rotate 0.000000
		AlphaGen wave sawtooth 1.000000 0.000000 0.279855 0.327086
		rgbGen wave sawtooth 1.000000 0.000000 0.279855 0.327086
		tcMod stretch sawtooth 0.800000 0.340024 0.279855 0.327086
		blendfunc add
	}
}

textures/qsn/snowflake1_2000
{
	qer_editorimage textures/qsn/snowflake1.tga
	surfaceparm noimpact
	surfaceparm nolightmap
	cull none
	surfaceparm trans
	surfaceparm nonsolid
	surfaceparm nodlight
	deformvertexes autosprite
	deformvertexes move -2.382465 0.913984 -280 sawtooth 0 1 0.086856 0.13
	{
		clampmap textures/qsn/snowflake1.tga
		tcMod rotate 0.000000
		AlphaGen wave sawtooth 1.000000 0.000000 0.086856 0.584348
		rgbGen wave sawtooth 1.000000 0.000000 0.086856 0.584348
		tcMod stretch sawtooth 0.800000 0.370201 0.086856 0.584348
		blendfunc add
	}
}

textures/qsn/snowflake1_3000
{
	qer_editorimage textures/qsn/snowflake1.tga
	surfaceparm noimpact
	surfaceparm nolightmap
	cull none
	surfaceparm trans
	surfaceparm nonsolid
	surfaceparm nodlight
	deformvertexes autosprite
	deformvertexes move -2.679708 -1.398174 -280 sawtooth 0 1 0.287179 0.125
	{
		clampmap textures/qsn/snowflake1.tga
		tcMod rotate 0.000000
		AlphaGen wave sawtooth 1.000000 0.000000 0.287179 0.414235
		rgbGen wave sawtooth 1.000000 0.000000 0.287179 0.414235
		tcMod stretch sawtooth 0.800000 0.317253 0.287179 0.414235
		blendfunc add
	}
}

textures/qsn/snowflake1_4000
{
	qer_editorimage textures/qsn/snowflake1.tga
	surfaceparm noimpact
	surfaceparm nolightmap
	cull none
	surfaceparm trans
	surfaceparm nonsolid
	surfaceparm nodlight
	deformvertexes autosprite
	deformvertexes move 3.818927 -1.426533 -280 sawtooth 0 1 0.465835 0.13
	{
		clampmap textures/qsn/snowflake1.tga
		tcMod rotate 0.000000
		AlphaGen wave sawtooth 1.000000 0.000000 0.465835 0.277784
		rgbGen wave sawtooth 1.000000 0.000000 0.465835 0.277784
		tcMod stretch sawtooth 0.800000 0.262371 0.465835 0.277784
		blendfunc add
	}
}

textures/qsn/snowflake1_1a
{
	qer_editorimage textures/qsn/snowflake1.tga
	surfaceparm noimpact
	surfaceparm nolightmap
	cull none
	surfaceparm trans
	surfaceparm nonsolid
	surfaceparm nodlight
	deformvertexes autosprite
	deformvertexes move -1.038256 -4.559022 -380 sawtooth 0 1 0.279855 0.12
	{
		clampmap textures/qsn/snowflake1.tga
		tcMod rotate 0.000000
		AlphaGen wave sawtooth 1.000000 0.000000 0.279855 0.327086
		rgbGen wave sawtooth 1.000000 0.000000 0.279855 0.327086
		tcMod stretch sawtooth 0.800000 0.340024 0.279855 0.327086
		blendfunc add
	}
}

textures/qsn/snowflake1_2a
{
	qer_editorimage textures/qsn/snowflake1.tga
	surfaceparm noimpact
	surfaceparm nolightmap
	cull none
	surfaceparm trans
	surfaceparm nonsolid
	surfaceparm nodlight
	deformvertexes autosprite
	deformvertexes move -2.382465 0.913984 -256 sawtooth 0 1 0.086856 0.13
	{
		clampmap textures/qsn/snowflake1.tga
		tcMod rotate 0.000000
		AlphaGen wave sawtooth 1.000000 0.000000 0.086856 0.584348
		rgbGen wave sawtooth 1.000000 0.000000 0.086856 0.584348
		tcMod stretch sawtooth 0.800000 0.370201 0.086856 0.584348
		blendfunc add
	}
}

textures/qsn/snowflake1_3a
{
	qer_editorimage textures/qsn/snowflake1.tga
	surfaceparm noimpact
	surfaceparm nolightmap
	cull none
	surfaceparm trans
	surfaceparm nonsolid
	surfaceparm nodlight
	deformvertexes autosprite
	deformvertexes move -2.679708 -1.398174 -256 sawtooth 0 1 0.287179 0.125
	{
		clampmap textures/qsn/snowflake1.tga
		tcMod rotate 0.000000
		AlphaGen wave sawtooth 1.000000 0.000000 0.287179 0.414235
		rgbGen wave sawtooth 1.000000 0.000000 0.287179 0.414235
		tcMod stretch sawtooth 0.800000 0.317253 0.287179 0.414235
		blendfunc add
	}
}

textures/qsn/snowflake1_4a
{
	qer_editorimage textures/qsn/snowflake1.tga
	surfaceparm noimpact
	surfaceparm nolightmap
	cull none
	surfaceparm trans
	surfaceparm nonsolid
	surfaceparm nodlight
	deformvertexes autosprite
	deformvertexes move 3.818927 -1.426533 -256 sawtooth 0 1 0.465835 0.13
	{
		clampmap textures/qsn/snowflake1.tga
		tcMod rotate 0.000000
		AlphaGen wave sawtooth 1.000000 0.000000 0.465835 0.277784
		rgbGen wave sawtooth 1.000000 0.000000 0.465835 0.277784
		tcMod stretch sawtooth 0.800000 0.262371 0.465835 0.277784
		blendfunc add
	}
}

textures/qsn/snowflake1_1b
{
	qer_editorimage textures/qsn/snowflake1.tga
	surfaceparm noimpact
	surfaceparm nolightmap
	cull none
	surfaceparm trans
	surfaceparm nonsolid
	surfaceparm nodlight
	deformvertexes autosprite
	deformvertexes move -1.038256 -4.559022 -384 sawtooth 0 1 0.279855 0.12
	{
		clampmap textures/qsn/snowflake1.tga
		tcMod rotate 0.000000
		AlphaGen wave sawtooth 1.000000 0.000000 0.279855 0.327086
		rgbGen wave sawtooth 1.000000 0.000000 0.279855 0.327086
		tcMod stretch sawtooth 0.800000 0.340024 0.279855 0.327086
		blendfunc add
	}
}

textures/qsn/snowflake1_2b
{
	qer_editorimage textures/qsn/snowflake1.tga
	surfaceparm noimpact
	surfaceparm nolightmap
	cull none
	surfaceparm trans
	surfaceparm nonsolid
	surfaceparm nodlight
	deformvertexes autosprite
	deformvertexes move -2.382465 0.913984 -384 sawtooth 0 1 0.086856 0.13
	{
		clampmap textures/qsn/snowflake1.tga
		tcMod rotate 0.000000
		AlphaGen wave sawtooth 1.000000 0.000000 0.086856 0.584348
		rgbGen wave sawtooth 1.000000 0.000000 0.086856 0.584348
		tcMod stretch sawtooth 0.800000 0.370201 0.086856 0.584348
		blendfunc add
	}
}

textures/qsn/snowflake1_3b
{
	qer_editorimage textures/qsn/snowflake1.tga
	surfaceparm noimpact
	surfaceparm nolightmap
	cull none
	surfaceparm trans
	surfaceparm nonsolid
	surfaceparm nodlight
	deformvertexes autosprite
	deformvertexes move -2.679708 -1.398174 -384 sawtooth 0 1 0.287179 0.125
	{
		clampmap textures/qsn/snowflake1.tga
		tcMod rotate 0.000000
		AlphaGen wave sawtooth 1.000000 0.000000 0.287179 0.414235
		rgbGen wave sawtooth 1.000000 0.000000 0.287179 0.414235
		tcMod stretch sawtooth 0.800000 0.317253 0.287179 0.414235
		blendfunc add
	}
}

textures/qsn/snowflake1_4b
{
	qer_editorimage textures/qsn/snowflake1.tga
	surfaceparm noimpact
	surfaceparm nolightmap
	cull none
	surfaceparm trans
	surfaceparm nonsolid
	surfaceparm nodlight
	deformvertexes autosprite
	deformvertexes move 3.818927 -1.426533 -384 sawtooth 0 1 0.465835 0.13
	{
		clampmap textures/qsn/snowflake1.tga
		tcMod rotate 0.000000
		AlphaGen wave sawtooth 1.000000 0.000000 0.465835 0.277784
		rgbGen wave sawtooth 1.000000 0.000000 0.465835 0.277784
		tcMod stretch sawtooth 0.800000 0.262371 0.465835 0.277784
		blendfunc add
	}
}

textures/qsn/teleglow01
{
	deformVertexes autosprite
     	surfaceparm trans
	surfaceparm noimpact
	surfaceparm nonsolid
	q3map_lightimage textures/qsn/sky_light.tga
	q3map_surfacelight 100
     	nomipmaps
	cull none
	{
		clampmap textures/qsn/teleglow01.tga
		blendfunc gl_one gl_one
		tcMod stretch sawtooth 1 -.9 .5 1.15
		tcMod rotate 15
		rgbGen wave sawtooth .5 .5 .25 1.15
	}
	{
		clampmap textures/qsn/teleglow01.tga
		blendfunc gl_one gl_one
		tcMod stretch sawtooth 1 -.9 .5 1.5
		tcMod rotate -60
		rgbGen wave sawtooth .75 .5 .5 1.5
	}
}

textures/qsn/teleglow02
{
	qer_editorimage textures/qsn/teleglow01.tga
	deformVertexes autosprite
	surfaceparm trans
	surfaceparm noimpact
	surfaceparm nonsolid
	q3map_lightimage textures/qsn/sky_light.tga
	q3map_surfacelight 100
     	nomipmaps
	cull none
	{
		clampmap textures/qsn/teleglow01.tga
		blendfunc gl_one gl_one
		tcMod stretch sawtooth 1 -.9 0 1.5
		tcMod rotate 60
		rgbGen wave sawtooth .75 .5 .6 1.5
	}
	{
		clampmap textures/qsn/teleglow01.tga
		blendfunc gl_one gl_one
		tcMod stretch sawtooth 1 -.9 .5 1.20
		tcMod rotate -20
		rgbGen wave sawtooth .75 .5 .1 1.20
	}
}

textures/qsn/terrain
{
	q3map_terrain
	qer_editorimage textures/qsn/terrain-img.tga
	surfaceparm nodraw
	surfaceparm nomarks
	surfaceparm nolightmap
}

textures/qsn/qsn_terra_0
{
	q3map_lightmapsamplesize 64
	q3map_lightmapaxis z
	q3map_texturesize 512 512
	q3map_tcGen ivector ( 256 0 0 ) ( 0 256 0 )
	{
		map textures/qsn/terr0.tga
	}
	{
		map $lightmap
		blendFunc GL_DST_COLOR GL_ZERO
		tcGen lightmap
	}
}

textures/qsn/qsn_terra_1
{
	q3map_lightmapsamplesize 64
	q3map_lightmapaxis z
	q3map_texturesize 512 512
	q3map_tcGen ivector ( 256 0 0 ) ( 0 256 0 )
	{
		map textures/qsn/terr1.tga
	}
	{
		map $lightmap
		blendFunc GL_DST_COLOR GL_ZERO
		tcGen lightmap
	}
}

textures/qsn/qsn_terra_2
{
	q3map_lightmapsamplesize 64
	q3map_lightmapaxis z
	q3map_texturesize 512 512
	q3map_tcGen ivector ( 256 0 0 ) ( 0 256 0 )
	{
		map textures/qsn/terr2.tga
	}
	{
		map $lightmap
		blendFunc GL_DST_COLOR GL_ZERO
		tcGen lightmap
	}
}

textures/qsn/qsn_terra_0to1
{
	q3map_lightmapsamplesize 64
	q3map_lightmapaxis z
	q3map_texturesize 512 512
	q3map_tcGen ivector ( 256 0 0 ) ( 0 256 0 )	
	{
		map textures/qsn/terr0.tga
	}
	{
		map textures/qsn/terr1.tga
		alphaGen vertex
		blendFunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA
	}
	{
		map $lightmap
		blendFunc GL_DST_COLOR GL_ZERO
		tcGen lightmap
	}
}

textures/qsn/qsn_terra_0to2
{
	q3map_lightmapsamplesize 64
	q3map_lightmapaxis z
	q3map_texturesize 512 512
	q3map_tcGen ivector ( 256 0 0 ) ( 0 256 0 )	
	{
		map textures/qsn/terr0.tga
	}
	{
		map textures/qsn/terr2.tga
		alphaGen vertex
		blendFunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA
	}
	{
		map $lightmap
		blendFunc GL_DST_COLOR GL_ZERO
		tcGen lightmap
	}
}

textures/qsn/qsn_terra_1to2
{
	q3map_lightmapsamplesize 64
	q3map_lightmapaxis z
	q3map_texturesize 512 512
	q3map_tcGen ivector ( 256 0 0 ) ( 0 256 0 )	
	{
		map textures/qsn/terr1.tga
	}
	{
		map textures/qsn/terr2.tga
		alphaGen vertex
		blendFunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA
	}
	{
		map $lightmap
		blendFunc GL_DST_COLOR GL_ZERO
		tcGen lightmap
	}
}

textures/qsn/qsn_vxterra
{
	{
		map textures/qsn/terr1.tga
		rgbGen vertex
	}
}

textures/qsn/water2
{
	qer_editorimage textures/qsn/pool3d_ripple.tga
	qer_trans .5
	q3map_globaltexture
	surfaceparm trans
	surfaceparm nonsolid
	surfaceparm water
	cull disable
	deformVertexes wave 64 sin 1 1 0 .5	
	{ 
		map textures/qsn/pool3d_ripple.tga
		blendFunc GL_dst_color GL_one
		rgbgen identity
		tcmod scale .5 .5
		tcmod scroll .025 .01
	}
	{ 
		map textures/qsn/pool3d_ripple.tga
		blendFunc GL_dst_color GL_one
		tcmod scale -.5 -.5
		tcmod scroll .025 .025
	}	
	{
		map $lightmap
		blendFunc GL_dst_color GL_zero
		rgbgen identity		
	}
}

textures/qsn/water2_nowaves
{
	qer_editorimage textures/qsn/pool3d_ripple.tga
	qer_trans .5
	q3map_globaltexture
	surfaceparm trans
	surfaceparm nonsolid
	surfaceparm water
	cull disable
	{ 
		map textures/qsn/pool3d_ripple.tga
		blendFunc GL_dst_color GL_one
		rgbgen identity
		tcmod scale .5 .5
		tcmod scroll .025 .01
	}
	{ 
		map textures/qsn/pool3d_ripple.tga
		blendFunc GL_dst_color GL_one
		tcmod scale -.5 -.5
		tcmod scroll .025 .025
	}
	{
		map $lightmap
		blendFunc GL_dst_color GL_zero
		rgbgen identity		
	}
}

textures/qsn/water_nodraw
{
	surfaceparm nodraw
	surfaceparm nolightmap
	surfaceparm nonsolid
	surfaceparm trans
	surfaceparm nomarks
	surfaceparm water
}
