//SKY//

textures/bugtures/bug_skies/bug_bluesky1
{
	qer_editorimage textures/bugtures/bug_skies/blueskybase.tga
	surfaceparm noimpact
	surfaceparm nolightmap

	q3map_sun 0.6 0.6 0.6 150 120 60 
	q3map_surfacelight 500

	skyparms - 512 -
	
	{
		map textures/bugtures/bug_skies/blueskyclouds.tga
		tcMod scroll 0.01 0.01
		tcMod scale 3 3
		depthWrite
	}
	{
		map textures/bugtures/bug_skies/blueskybase.tga
		blendfunc GL_ONE GL_ONE
		tcMod scroll -0.01 -0.01
		tcMod scale 5 5
	}
}

//LIGHTS//

textures/bugtures/bug_sfx/light_blue
{
	qer_editorimage textures/bugtures/bug_sfx/l_blue1.tga
	q3map_lightsubdivide 128
	q3map_surfacelight 500
	{
		map textures/bugtures/bug_sfx/l_blue1.tga
		rgbGen identity
	}
	{
		map $lightmap
		rgbGen identity
		blendfunc filter
	}
	{
		map textures/bugtures/bug_sfx/l_blue1.blend.tga
		blendfunc add	
                rgbgen wave sin .5 .3 0 1
	}
}

//LIGHT-WALLS//

textures/bugtures/bug_sfx/wall_blue
{
	qer_editorimage textures/bugtures/bug_sfx/wall_blue1.tga
	q3map_lightsubdivide 128
	q3map_surfacelight 250
	{
		map textures/bugtures/bug_sfx/wall_blue1.tga
		rgbGen identity
	}
	{
		map $lightmap
		rgbGen identity
		blendfunc filter
	}
	{
		map textures/bugtures/bug_sfx/wall_blue1.blend.tga
		blendfunc add	
                rgbgen wave sin .5 .3 0 1
	}
}

//BOXES//

textures/bugtures/bug_sfx/mystery_box
{
	qer_editorimage textures/bugtures/bug_sfx/mystery_box.tga
	surfaceparm nonsolid
	{
	map textures/bugtures/bug_sfx/mystery_box.tga
	}
}

textures/bugtures/bug_sfx/mystery_box2
{
	qer_editorimage textures/bugtures/bug_sfx/mystery_box2.tga
	surfaceparm nonsolid
	{
	map textures/bugtures/bug_sfx/mystery_box2.tga
	}
}

//SCROLLS//

textures/bugtures/bug_sfx/boost1
{
	qer_editorimage textures/bugtures/bug_sfx/boost1.tga
	q3map_surfacelight 150
	{
	map textures/bugtures/bug_sfx/boost1.tga
	tcmod scroll .5 -2
	}
}

//WATER JETS//

textures/bugtures/bug_sfx/water_jet1
{
	qer_editorimage textures/bugtures/bug_sfx/water_jet1.tga
	nopicmip
	surfaceparm nolightmap
	surfaceparm trans
	surfaceparm nonsolid
	cull none
	{
		map textures/bugtures/bug_sfx/water_jet1.tga
		blendfunc gl_dst_color gl_one
		tcmod scale 1 .05
		tcmod scroll 0 1
	}
}

//PORTALS//

textures/bugtures/bug_sfx/portal1
{
	portal
	surfaceparm nolightmap
	{
		map textures/bugtures/bug_sfx/portal1.tga
		blendfunc gl_one gl_one
		rgbgen wave inversesawtooth 0 .5 .2 .5
	}
}