textures/pred/railDisc
{
	qer_editorimage textures/pred/raildisc_mono2.tga
	sort nearest
	cull none
        deformVertexes wave 100 sin 0 .5 0 2.4
	{
		clampmap gfx/misc/raildisc_mono2.tga 
		blendFunc GL_ONE GL_ONE
		rgbGen vertex
                 tcMod rotate -30
	}
}
textures/pred/railcore
{
	sort nearest
	cull none
	qer_editorimage textures/Pred/railcorethin_mono.tga
	{
		map gfx/misc/railcorethin_mono.tga
		blendFunc GL_ONE GL_ONE
		rgbGen vertex
		tcMod scroll -1 0
	}
}

textures/pred/lightningBolt
{
	qer_editorimage gfx/misc/lightning3.tga
	cull none
	{
		map gfx/misc/lightning3.tga
		blendFunc GL_ONE GL_ONE
//                rgbgen wave sin 1 5.1 0 7.1
                rgbgen wave sin 1 0.5 0 7.1
                 tcmod scale  2 1
		tcMod scroll -5 0
	}
    {
		map gfx/misc/lightning3.tga
		blendFunc GL_ONE GL_ONE
//                rgbgen wave sin 1 8.3 0 8.1
                rgbgen wave sin 1 0.8 0 8.1
                tcmod scale  -1.3 -1
		tcMod scroll -7.2 0
	}
}

textures/pred/sun
{
	qer_editorimage gfx/misc/sun.tga
	cull none
	{
		map gfx/misc/sun.tga
		blendFunc GL_ONE GL_ONE
		rgbGen vertex
	}
}

textures/pred/tracer
{
	qer_editorimage gfx/misc/tracer2.tga
	cull none
	{
		map	gfx/misc/tracer2.tga
		blendFunc GL_ONE GL_ONE
	}
}

textures/pred/tracer_1
{
	surfaceparm alphashadow
	surfaceparm trans
	surfaceparm nonsolid
	nopicmip
	cull none
	qer_editorimage gfx/misc/tracer2.tga
	deformvertexes autosprite2
	{
		map gfx/misc/tracer2.tga
		alphafunc GE128
		rgbgen exactVertex
		depthwrite
		blendFunc GL_ONE GL_ONE
	}
}
textures/pred/tracer_2
{
	qer_editorimage gfx/misc/tracer2.tga
	surfaceparm noimpact
	surfaceparm nolightmap
	cull none
	surfaceparm trans
	surfaceparm nonsolid
	surfaceparm nodlight
	deformvertexes autosprite
	{
		clampmap gfx/misc/tracer2.tga
		blendFunc GL_ONE GL_ONE
AlphaGen wave sawtooth 1.000000 0.000000 -0.983581 1.000000
rgbGen wave sawtooth 0.500000 0.000000 -0.983581 1.000000
	}
}

textures/pred/blueflagmap
{
	qer_editorimage textures/pred/blueflagmap.tga
	surfaceparm alphashadow
	surfaceparm metalsteps
	cull disable
	qer_trans	0.5

	{
		map textures/pred/blueflagmap.tga
		rgbGen identity
		depthWrite
		alphaFunc GE128
	}
	{
		map $lightmap
		blendfunc filter
		rgbGen identity
		tcGen lightmap
		depthFunc equal
	}
}

textures/pred/glass_frame
{
     cull none
     surfaceparm alphashadow

        {
		map textures/effects/tinfx2.tga
                blendFunc GL_ONE GL_ONE
                tcgen environment
                rgbGen identity
	}
	{
		map textures/base_wall/glass_frame.tga
                alphaFunc GE128
                depthWrite
		//rgbGen vertex
                //blendfunc blend	
	}
        {
		map $lightmap
		rgbGen identity
		blendFunc filter
	}

}

textures/pred/BY_pred_banner
{
	qer_editorimage textures/pred/BY_pred_banner.tga
	surfaceparm alphashadow
	surfaceparm nodamage
	surfaceparm nodlight
	surfaceparm nolightmap
	surfaceparm nomarks
	surfaceparm nosteps
	surfaceparm trans
	{
		map textures/pred/BY_pred_banner.tga
		blendfunc add
	}
	{
		map textures/pred/BY_pred_banner.tga
		blendfunc gl_src_color gl_one_minus_src_color
	}
}
textures/pred/star1
{
	qer_editorimage textures/pred/star1.tga
	surfaceparm alphashadow
	surfaceparm nodamage
	surfaceparm nodlight
	surfaceparm nolightmap
	surfaceparm nomarks
	surfaceparm nosteps
	surfaceparm trans
	{
		map textures/pred/star1.tga
		blendfunc add
	}
	{
		map textures/pred/star1.tga
		blendfunc gl_src_color gl_one_minus_src_color
	}
}
