// ======================================================================
// Compilation of unreleased shaders and new shaders Made By Ghost...
//		Feel free to use these shaders and tweak them as u wish,
//			but plz give me some credit
//				I put lots of time and effort into these shaders.
// ======================================================================


textures/ghost-random/bluewater
{
	qer_editorimage textures/ghost-custom/blueshit.tga
	qer_trans .5
	surfaceparm trans
	surfaceparm nonsolid
	surfaceparm lava
	cull disable
	q3map_surfacelight 200

	{
		map textures/ghost-custom/blackwhiteshit.tga
		rgbGen identity
		tcMod scroll -0.05 0.05
	}
	{
		map textures/ghost-custom/blueshit.tga
		blendfunc gl_dst_color gl_src_color
		rgbGen identity
		tcMod scroll 0.05 -0.05
	}
}

textures/ghost-random/redwater
{
	qer_editorimage textures/ghost-custom/redshit.tga
	qer_trans .5
	surfaceparm trans
	surfaceparm nonsolid
	surfaceparm lava
	cull disable
	q3map_surfacelight 200
	{
		map textures/ghost-custom/blackwhiteshit.tga
		rgbGen identity
		tcMod scroll -0.05 0.05
	}
	{
		map textures/ghost-custom/redshit.tga
		blendfunc gl_dst_color gl_src_color
		rgbGen identity
		tcMod scroll 0.05 -0.05
	}
}

textures/ghost-random/purplewater
{
	qer_editorimage textures/ghost-custom/purpleshit.tga
	qer_trans .5
	surfaceparm trans
	surfaceparm nonsolid
	surfaceparm lava
	cull disable
	q3map_surfacelight 200
	{
		map textures/ghost-custom/blackwhiteshit.tga
		rgbGen identity
		tcMod scroll -0.05 0.05
	}
	{
		map textures/ghost-custom/purpleshit.tga
		blendfunc gl_dst_color gl_src_color
		rgbGen identity
		tcMod scroll 0.05 -0.05
	}
}

textures/ghost-random/greenwater
{
	qer_editorimage textures/ghost-custom/greenshit3.tga
	qer_trans .5
	surfaceparm trans
	surfaceparm nonsolid
	surfaceparm lava
	cull disable
	q3map_surfacelight 200
	{
		map textures/ghost-custom/blackwhiteshit.tga
		rgbGen identity
		tcMod scroll -0.05 0.05
	}
	{
		map textures/ghost-custom/greenshit3.tga
		blendfunc gl_dst_color gl_src_color
		rgbGen identity
		tcMod scroll 0.05 -0.05
	}
}

textures/ghost-random/purplewater2
{
	qer_editorimage textures/ghost-custom/purplewater2.tga
	surfaceparm lava
	surfaceparm nonsolid
	surfaceparm trans
	cull disable
	qer_trans 0.5
	q3map_surfacelight 200
	{
		map textures/ghost-custom/energy8.tga
		rgbGen identity
		tcMod turb 0 1 0 0.03
		tcMod scroll 0.05 -0.05
	}
	{
		map textures/ghost-custom/purplewater2.tga
		blendfunc gl_dst_color gl_src_color
		rgbGen identity
		tcMod scroll -0.05 0.05
	}
}



textures/ghost-random/greenwater2
{
	qer_editorimage textures/ghost-custom/greenshit.tga
	qer_trans .5
	surfaceparm trans
	surfaceparm nonsolid
	surfaceparm lava
	cull disable
	q3map_surfacelight 200
	{
		map textures/ghost-custom/energy6.tga
		rgbGen identity
		tcMod scroll -0.05 0.05
		tcMod turb 0 1 0 0.03
	}
	{
		map textures/ghost-custom/greenshit.tga
		blendfunc gl_dst_color gl_src_color
		rgbGen identity
		tcMod scroll 0.05 -0.05
	}
}

textures/ghost-random/wtf_flare
{
	qer_editorimage textures/ghost-custom/wtf_flare.tga
	cull none
	surfaceparm nolightmap
	surfaceparm nomarks
	surfaceparm nonsolid
	surfaceparm trans
	q3map_surfacelight 100
	deformVertexes autosprite
	{
		map textures/ghost-custom/wtf_flare.tga
		blendfunc add
		rgbGen identity
	}
}

textures/ghost-random/wtf_flare2
{
	qer_editorimage textures/ghost-custom/wtf_flare2.tga
	cull none
	surfaceparm nolightmap
	surfaceparm nomarks
	surfaceparm nonsolid
	surfaceparm trans
	q3map_surfacelight 100
	deformVertexes autosprite
	{
		map textures/ghost-custom/wtf_flare2.tga
		blendfunc add
		rgbGen identity
	}
}

textures/ghost-random/wtf_flare3
{
	qer_editorimage textures/ghost-custom/wtf_flare3.tga
	cull none
	surfaceparm nolightmap
	surfaceparm nomarks
	surfaceparm nonsolid
	surfaceparm trans
	q3map_surfacelight 100
	deformVertexes autosprite
	{
		map textures/ghost-custom/wtf_flare3.tga
		blendfunc add
		rgbGen identity
	}
}

textures/ghost-random/wtf_flare4
{
	qer_editorimage textures/ghost-custom/wtf_flare4.tga
	cull none
	surfaceparm nolightmap
	surfaceparm nomarks
	surfaceparm nonsolid
	surfaceparm trans
	q3map_surfacelight 100
	deformVertexes autosprite
	{
		map textures/ghost-custom/wtf_flare4.tga
		blendfunc add
		rgbGen identity
	}
}

textures/ghost-random/wtf_flare5
{
	qer_editorimage textures/ghost-custom/wtf_flare5.tga
	cull none
	surfaceparm nolightmap
	surfaceparm nomarks
	surfaceparm nonsolid
	surfaceparm trans
	q3map_surfacelight 100
	deformVertexes autosprite
	{
		map textures/ghost-custom/wtf_flare5.tga
		blendfunc add
		rgbGen identity
	}
}

textures/ghost-random/wtf_flare6
{
	qer_editorimage textures/ghost-custom/wtf_flare6.tga
	cull none
	surfaceparm nolightmap
	surfaceparm nomarks
	surfaceparm nonsolid
	surfaceparm trans
	q3map_surfacelight 100
	deformVertexes autosprite
	{
		map textures/ghost-custom/wtf_flare6.tga
		blendfunc add
		rgbGen identity
	}
}

textures/ghost-random/wtf_flare7
{
	qer_editorimage textures/ghost-custom/wtf_flare7.tga
	cull none
	surfaceparm nolightmap
	surfaceparm nomarks
	surfaceparm nonsolid
	surfaceparm trans
	q3map_surfacelight 100
	deformVertexes autosprite
	{
		map textures/ghost-custom/wtf_flare7.tga
		blendfunc add
		rgbGen identity
	}
}

textures/ghost-random/wtf_flare8
{
	qer_editorimage textures/ghost-custom/wtf_flare8.tga
	cull none
	surfaceparm nolightmap
	surfaceparm nomarks
	surfaceparm nonsolid
	surfaceparm trans
	q3map_surfacelight 100
	deformVertexes autosprite
	{
		map textures/ghost-custom/wtf_flare8.tga
		blendfunc add
		rgbGen identity
	}
}

textures/ghost-random/frog_flare
{
	qer_editorimage textures/ghost-custom/frog_flare.tga
	cull none
	surfaceparm nolightmap
	surfaceparm nomarks
	surfaceparm nonsolid
	surfaceparm trans
	q3map_surfacelight 100
	deformVertexes autosprite
	{
		map textures/ghost-custom/frog_flare.tga
		blendfunc add
		rgbGen identity
	}
}

textures/ghost-random/gb_finger
{
	qer_editorimage textures/ghost-custom/gb_finger.tga
	cull none
	surfaceparm nolightmap
	surfaceparm nomarks
	surfaceparm nonsolid
	surfaceparm trans
	deformVertexes autosprite
	{
		map textures/ghost-custom/gb_finger.tga
		blendfunc add
		rgbGen identity
	}
}

textures/ghost-random/planet
{
	qer_editorimage textures/ghost-custom/planet.tga
	cull none
	surfaceparm nolightmap
	surfaceparm nomarks
	surfaceparm nonsolid
	surfaceparm trans
	q3map_surfacelight 200
	deformVertexes autosprite
	{
		map textures/ghost-custom/planet.tga
		blendfunc add
		rgbGen identity
	}
}

textures/ghost-random/planet_light
{
	qer_editorimage textures/ghost-custom/planet_light.tga
	cull none
	surfaceparm nolightmap
	surfaceparm nomarks
	surfaceparm nonsolid
	surfaceparm trans
	q3map_surfacelight 200
	deformVertexes autosprite
	{
		map textures/ghost-custom/planet_light.tga
		blendfunc add
		rgbGen identity
	}
}

textures/ghost-random/magic
{
	qer_editorimage textures/ghost-custom/magic.tga
	cull none
	surfaceparm nolightmap
	surfaceparm nomarks
	surfaceparm nonsolid
	surfaceparm trans
	q3map_surfacelight 100
	deformVertexes autosprite
	{
		map textures/ghost-custom/magic.tga
		blendfunc add
		rgbGen identity
	}

}

textures/ghost-random/bright_flare
{
	qer_editorimage textures/ghost-custom/flare2.tga
	cull none
	surfaceparm nolightmap
	surfaceparm nomarks
	surfaceparm nonsolid
	surfaceparm trans
	q3map_surfacelight 100
	deformVertexes autosprite
	{
		map textures/ghost-custom/flare2.tga
		blendfunc add
		rgbGen identity
	}

}

textures/ghost-random/bright_flare2
{
	qer_editorimage textures/ghost-custom/flare1.tga
	cull none
	surfaceparm nolightmap
	surfaceparm nomarks
	surfaceparm nonsolid
	surfaceparm trans
	q3map_surfacelight 100
	deformVertexes autosprite
	{
		map textures/ghost-custom/flare1.tga
		blendfunc add
		rgbGen identity
	}

}

textures/ghost-random/bright_flare3
{
	qer_editorimage textures/ghost-custom/flare6.tga
	cull none
	surfaceparm nolightmap
	surfaceparm nomarks
	surfaceparm nonsolid
	surfaceparm trans
	q3map_surfacelight 100
	deformVertexes autosprite
	{
		map textures/ghost-custom/flare6.tga
		blendfunc add
		rgbGen identity
	}

}

textures/ghost-random/bright_flare4
{
	qer_editorimage textures/ghost-custom/flare7.tga
	cull none
	surfaceparm nolightmap
	surfaceparm nomarks
	surfaceparm nonsolid
	surfaceparm trans
	q3map_surfacelight 100
	deformVertexes autosprite
	{
		map textures/ghost-custom/flare7.tga
		blendfunc add
		rgbGen identity
	}

}

textures/ghost-random/magic1
{
	qer_editorimage textures/ghost-custom/magic1.tga
	cull none
	surfaceparm nolightmap
	surfaceparm nomarks
	surfaceparm nonsolid
	surfaceparm trans
	q3map_surfacelight 100
	deformVertexes autosprite
	{
		map textures/ghost-custom/magic1.tga
		blendfunc add
		rgbGen identity
	}

}

textures/ghost-random/magic2
{
	qer_editorimage textures/ghost-custom/magic2.tga
	cull none
	surfaceparm nolightmap
	surfaceparm nomarks
	surfaceparm nonsolid
	surfaceparm trans
	q3map_surfacelight 100
	deformVertexes autosprite
	{
		map textures/ghost-custom/magic2.tga
		blendfunc add
		rgbGen identity
	}

}

textures/ghost-random/planet_bright
{
	qer_editorimage textures/ghost-custom/planet1.tga
	cull none
	surfaceparm nolightmap
	surfaceparm nomarks
	surfaceparm nonsolid
	surfaceparm trans
	q3map_surfacelight 100
	deformVertexes autosprite
	{
		map textures/ghost-custom/planet1.tga
		blendfunc add
		rgbGen identity
	}

}

textures/ghost-random/beam_redish
{
	qer_editorimage textures/ghost-custom/beam_redish.tga
        surfaceparm trans	
        surfaceparm nomarks	
        surfaceparm nonsolid
	surfaceparm nolightmap
	cull none
	
	{
		map textures/ghost-custom/beam_redish.tga
                tcMod Scroll .3 0
                blendFunc add
        }
     
}

textures/ghost-random/beam_green
{
	qer_editorimage textures/ghost-custom/beam_green.tga
        surfaceparm trans	
        surfaceparm nomarks	
        surfaceparm nonsolid
	surfaceparm nolightmap
	cull none
	
	{
		map textures/ghost-custom/beam_green.tga
                tcMod Scroll .3 0
                blendFunc add
        }
     
}

textures/ghost-random/beam_orange
{
	qer_editorimage textures/ghost-custom/beam_orange.tga
        surfaceparm trans	
        surfaceparm nomarks	
        surfaceparm nonsolid
	surfaceparm nolightmap
	cull none
	
	{
		map textures/ghost-custom/beam_orange.tga
                tcMod Scroll .3 0
                blendFunc add
        }
     
}

textures/ghost-random/beam_purple
{
	qer_editorimage textures/ghost-custom/beam_purple.tga
        surfaceparm trans	
        surfaceparm nomarks	
        surfaceparm nonsolid
	surfaceparm nolightmap
	cull none
	
	{
		map textures/ghost-custom/beam_purple.tga
                tcMod Scroll .3 0
                blendFunc add
        }
     
}

textures/ghost-random/beam_yellow
{
	qer_editorimage textures/ghost-custom/beam_yellow.tga
        surfaceparm trans	
        surfaceparm nomarks	
        surfaceparm nonsolid
	surfaceparm nolightmap
	cull none
	
	{
		map textures/ghost-custom/beam_yellow.tga
                tcMod Scroll .3 0
                blendFunc add
        }
     
}

textures/ghost-random/laser_flare
{
	qer_editorimage textures/ghost-custom/laser_flare.tga
	cull none
	surfaceparm nolightmap
	surfaceparm nomarks
	surfaceparm nonsolid
	surfaceparm trans
	q3map_surfacelight 50
	deformVertexes autosprite
	{
		map textures/ghost-custom/laser_flare.tga
		blendfunc add
		rgbGen identity
	}

}

textures/ghost-random/laser_beam
{
	qer_editorimage textures/ghost-custom/laser_beam.tga
        surfaceparm trans	
        surfaceparm nomarks	
        surfaceparm nonsolid
	surfaceparm nolightmap
	cull none
	
	{
		map textures/ghost-custom/laser_beam.tga
                tcMod Scroll 0 0
                blendFunc add
        }
     
}

textures/ghost-random/laser_beam2
{
	qer_editorimage textures/ghost-custom/laser_beam2.tga
        surfaceparm trans	
        surfaceparm nomarks	
        surfaceparm nonsolid
	surfaceparm nolightmap
	cull none
	
	{
		map textures/ghost-custom/laser_beam.tga
                tcMod Scroll 0 0
                blendFunc add
        }
     
}

textures/ghost-random/laser_beam3
{
	qer_editorimage textures/ghost-custom/laser_beam3.tga
        surfaceparm trans	
        surfaceparm nomarks	
        surfaceparm nonsolid
	surfaceparm nolightmap
	cull none
	
	{
		map textures/ghost-custom/laser_beam3.tga
                tcMod Scroll 0 0
                blendFunc add
        }
     
}

textures/ghost-random/laser_beam4
{
	qer_editorimage textures/ghost-custom/laser_beam4.tga
        surfaceparm trans	
        surfaceparm nomarks	
        surfaceparm nonsolid
	surfaceparm nolightmap
	cull none
	
	{
		map textures/ghost-custom/laser_beam4.tga
                tcMod Scroll 0 0
                blendFunc add
        }
     
}

textures/ghost-random/laser_beam5
{
	qer_editorimage textures/ghost-custom/laser_beam5.tga
        surfaceparm trans	
        surfaceparm nomarks	
        surfaceparm nonsolid
	surfaceparm nolightmap
	cull none
	
	{
		map textures/ghost-custom/laser_beam5.tga
                tcMod Scroll 0 0
                blendFunc add
        }
     
}

textures/ghost-random/laser_beam6
{
	qer_editorimage textures/ghost-custom/laser_beam6.tga
        surfaceparm trans	
        surfaceparm nomarks	
        surfaceparm nonsolid
	surfaceparm nolightmap
	cull none
	
	{
		map textures/ghost-custom/laser_beam6.tga
                tcMod Scroll 0 0
                blendFunc add
        }
     
}

textures/ghost-random/lava2_nofog
{
	qer_editorimage textures/ghost-custom/lava2.tga
	surfaceparm lava
	surfaceparm noimpact
	surfaceparm nolightmap
	surfaceparm nomarks
	surfaceparm trans
	cull disable
	deformVertexes wave 100 sin 3 2 0.1 0.1 
	tessSize 128
	q3map_surfacelight 1000
	{
		map textures/ghost-custom/lava2.tga
		tcMod turb 0 0.2 0 0.1
	}
	{
		map textures/ghost-custom/lava2.tga
		blendfunc add
		rgbGen wave sin 0.9 0.1 0 0.25 
		tcMod turb 0.1 -0.3 0 -0.033
	}
}

textures/ghost-random/lava2
{
	qer_editorimage textures/ghost-custom/lava2.tga
	surfaceparm lava
	surfaceparm noimpact
	surfaceparm nolightmap
	surfaceparm trans
	cull disable
	deformVertexes wave 100 sin 3 2 0.1 0.1 
	tessSize 128
	q3map_surfacelight 1000
	fogparms ( 1 0.25098 0 ) 256
	{
		map textures/ghost-custom/lava2.tga
		tcMod turb 0 0.2 0 0.1
	}
	{
		map textures/ghost-custom/lava2.tga
		blendfunc add
		rgbGen wave sin 0.9 0.1 0 0.25 
		tcMod turb 0.1 -0.3 0 -0.033
	}
}

textures/ghost-random/lava2_flat
{
	qer_editorimage textures/ghost-custom/lava2.tga
	surfaceparm lava
	surfaceparm noimpact
	surfaceparm nolightmap
	surfaceparm trans
	cull disable
	q3map_surfacelight 1000
	fogparms ( 1 0.25098 0 ) 256
	{
		map textures/ghost-custom/lava2.tga
		tcMod turb 0 0.2 0 0.1
	}
	{
		map textures/ghost-custom/lava2.tga
		blendfunc add
		rgbGen wave sin 0.9 0.1 0 0.25 
		tcMod turb 0.1 -0.3 0 -0.033
	}
}

textures/ghost-random/slime2
{
	qer_editorimage textures/ghost-custom/slime2.tga
	surfaceparm noimpact
	surfaceparm nolightmap
	surfaceparm slime
	surfaceparm trans
	cull disable
	deformVertexes wave 100 sin 3 2 0.1 0.1 
	tessSize 128
	q3map_surfacelight 1000
	fogparms ( 0 0.501961 0 ) 256
	{
		map textures/ghost-custom/slime2.tga
		tcMod turb 0 0.2 0 0.1
	}
	{
		map textures/ghost-custom/slime2.tga
		blendfunc add
		rgbGen wave sin 0.9 0.1 0 0.25 
		tcMod turb 0.1 -0.3 0 -0.033
	}
}

textures/ghost-random/slime2_flat
{
	qer_editorimage textures/ghost-custom/slime2.tga
	surfaceparm noimpact
	surfaceparm nolightmap
	surfaceparm slime
	surfaceparm trans
	cull disable
	q3map_surfacelight 1000
	fogparms ( 0 0.501961 0 ) 256
	{
		map textures/ghost-custom/slime2.tga
		tcMod turb 0 0.2 0 0.1
	}
	{
		map textures/ghost-custom/slime2.tga
		blendfunc add
		rgbGen wave sin 0.9 0.1 0 0.25 
		tcMod turb 0.1 -0.3 0 -0.033
	}
}

textures/ghost-random/slime2_flat_nl
{
	qer_editorimage textures/ghost-custom/slime2.tga
	surfaceparm noimpact
	surfaceparm nolightmap
	surfaceparm slime
	surfaceparm trans
	cull disable
	fogparms ( 0 0.501961 0 ) 256
	{
		map textures/ghost-custom/slime2.tga
		tcMod turb 0 0.2 0 0.1
	}
	{
		map textures/ghost-custom/slime2.tga
		blendfunc add
		rgbGen wave sin 0.9 0.1 0 0.25 
		tcMod turb 0.1 -0.3 0 -0.033
	}
}

textures/ghost-random/slime2_flow
{
	qer_editorimage textures/ghost-custom/slime2.tga
	surfaceparm noimpact
	surfaceparm nolightmap
	surfaceparm slime
	surfaceparm trans
	cull disable
	{
		map textures/ghost-custom/slime2.tga
		tcMod turb 0 0.2 0 0.1
		tcMod scroll 0 -0.25
	}
	{
		map textures/ghost-custom/slime2.tga
		blendfunc add
		rgbGen wave sin 0.9 0.1 0 0.25 
		tcMod turb 0.1 -0.3 0 -0.033
		tcMod scroll 0 -0.25
	}
}

textures/ghost-random/planet2
{	
	qer_editorimage textures/ghost-custom/planet2.tga
	cull none
	surfaceparm nolightmap
	surfaceparm nomarks
	surfaceparm nonsolid
	surfaceparm trans
	q3map_surfacelight 50
	deformVertexes autosprite
	{
		map textures/ghost-custom/planet2.tga
		blendfunc add
		rgbGen identity
	}

}

textures/ghost-random/planet3
{
	qer_editorimage textures/ghost-custom/planet3.tga
	cull none
	surfaceparm nolightmap
	surfaceparm nomarks
	surfaceparm nonsolid
	surfaceparm trans
	q3map_surfacelight 50
	deformVertexes autosprite
	{
		map textures/ghost-custom/planet3.tga
		blendfunc add
		rgbGen identity
	}

}

textures/ghost-random/planet4
{
	qer_editorimage textures/ghost-custom/planet4.tga
	cull none
	surfaceparm nolightmap
	surfaceparm nomarks
	surfaceparm nonsolid
	surfaceparm trans
	q3map_surfacelight 50
	deformVertexes autosprite
	{
		map textures/ghost-custom/planet4.tga
		blendfunc add
		rgbGen identity
	}

}

textures/ghost-random/planet5
{
	qer_editorimage textures/ghost-custom/planet5.tga
	cull none
	surfaceparm nolightmap
	surfaceparm nomarks
	surfaceparm nonsolid
	surfaceparm trans
	q3map_surfacelight 50
	deformVertexes autosprite
	{
		map textures/ghost-custom/planet5.tga
		blendfunc add
		rgbGen identity
	}

}

textures/ghost-random/red_planet
{
	qer_editorimage textures/ghost-custom/red_planet.tga
	cull none
	surfaceparm nolightmap
	surfaceparm nomarks
	surfaceparm nonsolid
	surfaceparm trans
	q3map_surfacelight 50
	deformVertexes autosprite
	{
		map textures/ghost-custom/red_planet.tga
		blendfunc add
		rgbGen identity
	}

}

textures/ghost-random/red_planet_small
{
	qer_editorimage textures/ghost-custom/red_planet_small.tga
	cull none
	surfaceparm nolightmap
	surfaceparm nomarks
	surfaceparm nonsolid
	surfaceparm trans
	q3map_surfacelight 50
	deformVertexes autosprite
	{
		map textures/ghost-custom/red_planet_small.tga
		blendfunc add
		rgbGen identity
	}

}

textures/ghost-random/black_lava
{
	qer_editorimage textures/ghost-custom/black_lava.tga
	surfaceparm lava
	surfaceparm noimpact
	surfaceparm nolightmap
	surfaceparm trans
	cull disable
	deformVertexes wave 128 sin 0 2 1 0.09 
	tessSize 128
	q3map_surfacelight 500
	{
		map textures/ghost-custom/black_lava.tga
		rgbGen identity
		tcMod scroll -0.01 0.025
	}
}

textures/ghost-random/black_lava_fast
{
	qer_editorimage textures/ghost-custom/black_lava.tga
	surfaceparm lava
	surfaceparm noimpact
	surfaceparm nolightmap
	surfaceparm trans
	cull disable
	deformVertexes wave 128 sin 0 2 1 0.09 
	tessSize 128
	q3map_surfacelight 500
	{
		map textures/ghost-custom/black_lava.tga
		rgbGen identity
		tcMod scroll .75 .75
	}
}

textures/ghost-random/black_lava_1k
{
	qer_editorimage textures/ghost-custom/black_lava.tga
	surfaceparm lava
	surfaceparm noimpact
	surfaceparm nolightmap
	surfaceparm trans
	cull disable
	deformVertexes wave 128 sin 0 2 1 0.09 
	tessSize 128
	q3map_surfacelight 1000
	{
		map textures/ghost-custom/black_lava.tga
		rgbGen identity
		tcMod scroll -0.01 0.025
	}
}

textures/ghost-random/black_lava_1k_fast
{
	qer_editorimage textures/ghost-custom/black_lava.tga
	surfaceparm lava
	surfaceparm noimpact
	surfaceparm nolightmap
	surfaceparm trans
	cull disable
	deformVertexes wave 128 sin 0 2 1 0.09 
	tessSize 128
	q3map_surfacelight 1000
	{
		map textures/ghost-custom/black_lava.tga
		rgbGen identity
		tcMod scroll .75 .75
	}
}

textures/ghost-random/black_lava_clear
{
	qer_editorimage textures/ghost-custom/black_lava.tga
	surfaceparm lava
	surfaceparm noimpact
	surfaceparm nolightmap
	surfaceparm trans
	cull disable
	deformVertexes wave 128 sin 0 2 1 0.09 
	tessSize 128
	q3map_surfacelight 500
	{
		map textures/ghost-custom/black_lava.tga
		blendfunc add
		rgbGen identity
		tcMod scroll -0.01 0.025
	}
}

textures/ghost-random/black_lava_clear_fast
{
	qer_editorimage textures/ghost-custom/black_lava.tga
	surfaceparm lava
	surfaceparm noimpact
	surfaceparm nolightmap
	surfaceparm trans
	cull disable
	deformVertexes wave 128 sin 0 2 1 0.09 
	tessSize 128
	q3map_surfacelight 500
	{
		map textures/ghost-custom/black_lava.tga
		blendfunc add
		rgbGen identity
		tcMod scroll .75 .75
	}
}

textures/ghost-random/black_lava_clear_1k
{
	qer_editorimage textures/ghost-custom/black_lava.tga
	surfaceparm lava
	surfaceparm noimpact
	surfaceparm nolightmap
	surfaceparm trans
	cull disable
	deformVertexes wave 128 sin 0 2 1 0.09 
	tessSize 128
	q3map_surfacelight 1000
	{
		map textures/ghost-custom/black_lava.tga
		blendfunc add
		rgbGen identity
		tcMod scroll -0.01 0.025
	}
}

textures/ghost-random/black_lava_clear_1k_fast
{
	qer_editorimage textures/ghost-custom/black_lava.tga
	surfaceparm lava
	surfaceparm noimpact
	surfaceparm nolightmap
	surfaceparm trans
	cull disable
	deformVertexes wave 128 sin 0 2 1 0.09 
	tessSize 128
	q3map_surfacelight 1000
	{
		map textures/ghost-custom/black_lava.tga
		blendfunc add
		rgbGen identity
		tcMod scroll .75 .75
	}
}

textures/ghost-random/black_lava_bump
{
	qer_editorimage textures/ghost-custom/black_lava.tga
	surfaceparm lava
	surfaceparm noimpact
	surfaceparm nolightmap
	surfaceparm trans
	cull disable
	deformVertexes wave 128 sin 0 2 1 0.09 
	tessSize 128
	q3map_surfacelight 500
	{
		map textures/ghost-custom/black_lava_bump.tga
		rgbGen identity
		tcMod scroll -0.01 0.025
	}
	{
		map textures/ghost-custom/black_lava.tga
		blendfunc add
		rgbGen identity
		tcMod scroll -0.01 0.025
	}
}

textures/ghost-random/black_lava_bump_fast
{
	qer_editorimage textures/ghost-custom/black_lava.tga
	surfaceparm lava
	surfaceparm noimpact
	surfaceparm nolightmap
	surfaceparm trans
	cull disable
	deformVertexes wave 128 sin 0 2 1 0.09 
	tessSize 128
	q3map_surfacelight 500
	{
		map textures/ghost-custom/black_lava_bump.tga
		rgbGen identity
		tcMod scroll .75 .75
	}
	{
		map textures/ghost-custom/black_lava.tga
		blendfunc add
		rgbGen identity
		tcMod scroll .75 .75
	}
}

textures/ghost-random/black_lava_bump_1k
{
	qer_editorimage textures/ghost-custom/black_lava.tga
	surfaceparm lava
	surfaceparm noimpact
	surfaceparm nolightmap
	surfaceparm trans
	cull disable
	deformVertexes wave 128 sin 0 2 1 0.09 
	tessSize 128
	q3map_surfacelight 1000
	{
		map textures/ghost-custom/black_lava_bump.tga
		rgbGen identity
		tcMod scroll -0.01 0.025
	}
	{
		map textures/ghost-custom/black_lava.tga
		blendfunc add
		rgbGen identity
		tcMod scroll -0.01 0.025
	}
}

textures/ghost-random/black_lava_bump_1k_fast
{
	qer_editorimage textures/ghost-custom/black_lava.tga
	surfaceparm lava
	surfaceparm noimpact
	surfaceparm nolightmap
	surfaceparm trans
	cull disable
	deformVertexes wave 128 sin 0 2 1 0.09 
	tessSize 128
	q3map_surfacelight 1000
	{
		map textures/ghost-custom/black_lava_bump.tga
		rgbGen identity
		tcMod scroll .75 .75
	}
	{
		map textures/ghost-custom/black_lava.tga
		blendfunc add
		rgbGen identity
		tcMod scroll .75 .75
	}
}

textures/ghost-random/shiney_water
{
	qer_editorimage textures/ghost-custom/pool3d_5f.tga
	surfaceparm nonsolid
	surfaceparm trans
	surfaceparm water
	cull disable
	deformVertexes wave 64 triangle 0.25 0.25 0 0.5 
	qer_nocarve
	q3map_surfacelight 100
	{
		map textures/ghost-custom/pool3d_5f.tga
		blendfunc add
		rgbGen identity
		tcMod scale 1 1
		tcMod scroll 0.025 0.015
		tcGen environment 
	}
	{
		map textures/ghost-custom/pool3d_5g.tga
		blendfunc filter
		rgbGen identity
		tcGen lightmap 
	}
}

textures/ghost-random/calm_mirror1
{	
	qer_editorimage textures/ghost-custom/pool3d_6f.tga
	surfaceparm nolightmap
	surfaceparm nonsolid
	surfaceparm trans
	surfaceparm water
	deformVertexes wave 64 sin 0.25 0.25 0 0.5 
	qer_nocarve
	q3map_surfacelight 50
	portal

	{
		map textures/ghost-custom/pool3d_6f.tga
		blendfunc add
		rgbGen identity
		tcMod scroll 0.05 0.05
	}
	{
		map textures/common/mirror1.tga
		blendfunc GL_ONE GL_ONE_MINUS_SRC_ALPHA
		depthWrite
	}
}

textures/ghost-random/calm_mirror1_turb
{	
	qer_editorimage textures/ghost-custom/pool3d_6f.tga
	surfaceparm nolightmap
	surfaceparm nonsolid
	surfaceparm trans
	surfaceparm water
	deformVertexes wave 64 sin 0.25 0.25 0 0.5 
	qer_nocarve
	q3map_surfacelight 50
	portal

	{
		map textures/ghost-custom/pool3d_6f.tga
		blendfunc add
		rgbGen identity
		tcMod scroll 0.05 0.05
		tcMod turb 0.2 0.1 0.1 0.2
	}
	{
		map textures/common/mirror1.tga
		blendfunc GL_ONE GL_ONE_MINUS_SRC_ALPHA
		depthWrite
	}
}

textures/ghost-random/calm_mirror2
{	
	qer_editorimage textures/ghost-custom/pool3d_5f.tga
	surfaceparm nolightmap
	surfaceparm nonsolid
	surfaceparm trans
	surfaceparm water
	deformVertexes wave 64 sin 0.25 0.25 0 0.5 
	qer_nocarve
	q3map_surfacelight 50
	portal

	{
		map textures/ghost-custom/pool3d_5f.tga
		blendfunc add
		rgbGen identity
		tcMod scroll 0.05 0.05
	}
	{
		map textures/common/mirror1.tga
		blendfunc GL_ONE GL_ONE_MINUS_SRC_ALPHA
		depthWrite
	}
}

textures/ghost-random/calm_mirror2_turb
{	
	qer_editorimage textures/ghost-custom/pool3d_5f.tga
	surfaceparm nolightmap
	surfaceparm nonsolid
	surfaceparm trans
	surfaceparm water
	deformVertexes wave 64 sin 0.25 0.25 0 0.5 
	qer_nocarve
	q3map_surfacelight 50
	portal

	{
		map textures/ghost-custom/pool3d_5f.tga
		blendfunc add
		rgbGen identity
		tcMod scroll 0.05 0.05
		tcMod turb 0.2 0.1 0.1 0.2
	}
	{
		map textures/common/mirror1.tga
		blendfunc GL_ONE GL_ONE_MINUS_SRC_ALPHA
		depthWrite
	}
}

textures/ghost-random/calm_mirror3
{	
	qer_editorimage textures/ghost-custom/pool3d_5g.tga
	surfaceparm nolightmap
	surfaceparm nonsolid
	surfaceparm trans
	surfaceparm water
	deformVertexes wave 64 sin 0.25 0.25 0 0.5 
	qer_nocarve
	q3map_surfacelight 50
	portal

	{
		map textures/ghost-custom/pool3d_5g.tga
		blendfunc add
		rgbGen identity
		tcMod scroll 0.05 0.05
	}
	{
		map textures/common/mirror1.tga
		blendfunc GL_ONE GL_ONE_MINUS_SRC_ALPHA
		depthWrite
	}
}

textures/ghost-random/calm_mirror3_turb
{	
	qer_editorimage textures/ghost-custom/pool3d_5g.tga
	surfaceparm nolightmap
	surfaceparm nonsolid
	surfaceparm trans
	surfaceparm water
	deformVertexes wave 64 sin 0.25 0.25 0 0.5 
	qer_nocarve
	q3map_surfacelight 50
	portal

	{
		map textures/ghost-custom/pool3d_5g.tga
		blendfunc add
		rgbGen identity
		tcMod scroll 0.05 0.05
		tcMod turb 0.2 0.1 0.1 0.2
	}
	{
		map textures/common/mirror1.tga
		blendfunc GL_ONE GL_ONE_MINUS_SRC_ALPHA
		depthWrite
	}
}

textures/ghost-random/calm_mirror4
{	
	qer_editorimage textures/ghost-custom/pool3d_6.tga
	surfaceparm nolightmap
	surfaceparm nonsolid
	surfaceparm trans
	surfaceparm water
	deformVertexes wave 64 sin 0.25 0.25 0 0.5 
	qer_nocarve
	q3map_surfacelight 50
	portal

	{
		map textures/ghost-custom/pool3d_6.tga
		blendfunc add
		rgbGen identity
		tcMod scroll 0.05 0.05
	}
	{
		map textures/common/mirror1.tga
		blendfunc GL_ONE GL_ONE_MINUS_SRC_ALPHA
		depthWrite
	}
}

textures/ghost-random/calm_mirror4_turb
{	
	qer_editorimage textures/ghost-custom/pool3d_6.tga
	surfaceparm nolightmap
	surfaceparm nonsolid
	surfaceparm trans
	surfaceparm water
	deformVertexes wave 64 sin 0.25 0.25 0 0.5 
	qer_nocarve
	q3map_surfacelight 50
	portal

	{
		map textures/ghost-custom/pool3d_6.tga
		blendfunc add
		rgbGen identity
		tcMod scroll 0.05 0.05
		tcMod turb 0.2 0.1 0.1 0.2
	}
	{
		map textures/common/mirror1.tga
		blendfunc GL_ONE GL_ONE_MINUS_SRC_ALPHA
		depthWrite
	}
}

textures/ghost-random/ghost-red_telep
{
	qer_editorimage textures/ctf/red_telep.tga
	surfaceparm nomarks
	surfaceparm	noimpact
	surfaceparm trans
	surfaceparm nolightmap
	surfaceparm nonsolid
	cull disable
	deformVertexes autosprite

	{
		map models/mapobjects/baph/bapholamp_fx2.tga
		blendfunc add
		rgbGen wave triangle 0 1 0 1 
	}
	{
		map textures/ctf/red_telep.tga
		blendfunc gl_one gl_src_alpha
		rgbGen identity
		tcMod rotate 10
		tcGen lightmap 
	}
	{
		map textures/ctf/red_telep2.tga
		blendfunc add
		rgbGen identity
		tcMod rotate -10
	}
	{
		map $lightmap 
		blendfunc filter
		rgbGen identity
		tcGen lightmap
	}
}

textures/ghost-random/ghost-blue_telep
{
	qer_editorimage textures/ctf/blue_telep.tga
	surfaceparm nomarks
	surfaceparm	noimpact
	surfaceparm nolightmap
	surfaceparm nonsolid
	surfaceparm trans
	cull disable
	deformVertexes autosprite
	{
		map models/mapobjects/baph/bapholamp_fx2.tga
		blendfunc add
		rgbGen wave triangle 0 1 0 1 
	}
	{
		map textures/ctf/blue_telep.tga
		blendfunc gl_one gl_src_alpha
		rgbGen identity
		tcMod rotate 10
		tcGen lightmap 
	}
	{
		map textures/ctf/blue_telep2.tga
		blendfunc add
		rgbGen identity
		tcMod rotate -10
	}
	{
		map $lightmap 
		blendfunc filter
		rgbGen identity
		tcGen lightmap
	}
}

textures/ghost-random/ghost-bluered_telep
{
	qer_editorimage textures/ctf/red_telep2.tga
	surfaceparm nomarks
	surfaceparm	noimpact
	surfaceparm nolightmap
	surfaceparm nonsolid
	surfaceparm trans
	cull disable
	deformVertexes autosprite
	{
		map models/mapobjects/baph/bapholamp_fx2.tga
		blendfunc add
		rgbGen wave triangle 0 1 0 1 
	}
	{
		map textures/ctf/blue_telep.tga
		blendfunc gl_one gl_src_alpha
		rgbGen identity
		tcMod rotate 10
		tcGen lightmap 
	}
	{
		map textures/ctf/red_telep2.tga
		blendfunc add
		rgbGen identity
		tcMod rotate -10
	}
	{
		map $lightmap 
		blendfunc filter
		rgbGen identity
		tcGen lightmap
	}
}

textures/ghost-random/proto_zzztgreen
{
	qer_editorimage textures/ghost-custom/proto_zzztgreen.tga
	nopicmip
	surfaceparm nolightmap
	surfaceparm nonsolid
	surfaceparm trans
	cull twosided
	q3map_surfacelight 500
	surfaceparm nomarks
	surfaceparm noimpact
	{
		map textures/ghost-custom/proto_zzztgreen.tga
		tcGen environment
                tcmod scale .6 .6
		blendfunc GL_ONE GL_ONE
		tcMod turb 0 0.25 0 0.5
		tcMod scroll -.5 -.3
	}
}

textures/ghost-random/energy2_purple
{
	qer_editorimage textures/ghost-custom/energy2_purple.tga
	nopicmip
	surfaceparm nolightmap
	surfaceparm nonsolid
	surfaceparm trans
	cull twosided
	q3map_surfacelight 550
	surfaceparm nomarks
	surfaceparm noimpact
	{
		map textures/ghost-custom/energy2_purple.tga
		tcGen environment
                tcmod scale .6 .6
		blendfunc GL_ONE GL_ONE
		tcMod turb 0 0.25 0 0.5
		tcMod scroll -.5 -.3
	}
}


textures/ghost-random/dark_blueslime
{
	qer_editorimage textures/liquids/slimeb.tga
	q3map_lightimage textures/liquids/slimeb.tga
	surfaceparm lava
	surfaceparm noimpact
	surfaceparm nolightmap
	surfaceparm nonsolid
	surfaceparm trans
	cull disable
	deformVertexes wave 128 sin 0 1 0.5 0.5 
	tessSize 32
	q3map_surfacelight 1000
	qer_nocarve	
	{
		map textures/liquids/slimer.tga
		rgbGen identity
		tcMod turb 0.2 0.1 1 0.3
		tcMod scroll 0.04 0.04
	}
	{
		map textures/liquids/slimeb.tga
		rgbGen identity
		tcMod turb 0.3 0.2 1 0.3
		tcMod scroll 0.02 -0.02
	}
	{
		map textures/liquids/bubbles.tga
		blendfunc gl_zero gl_one_minus_src_color
		rgbGen identity
		tcMod turb 0.2 0.1 0.1 0.2
		tcMod scroll 0.025 0.03
	}
}

textures/ghost-random/purpleslime
{
	qer_editorimage textures/liquids/slimep.tga
	q3map_lightimage textures/liquids/slimep.tga
	surfaceparm noimpact
	surfaceparm nolightmap
	surfaceparm lava
	surfaceparm trans
	surfaceparm nonsolid
	cull disable
	deformVertexes wave 128 sin 0 1 0.5 0.5 
	tessSize 32
	q3map_surfacelight 850
	qer_nocarve	
	{
		map textures/liquids/slimep_1.tga
		rgbGen identity
		tcMod turb 0.3 0.2 1 0.3
		tcMod scroll 0.1 -0.1
	}
	{
		map textures/liquids/slimep.tga
		blendfunc add
		rgbGen identity
		tcMod turb 0.2 0.1 1 0.3
		tcMod scroll 0.04 0.04
	}
	{
		map textures/liquids/bubbles.tga
		blendfunc gl_zero gl_one_minus_src_color
		rgbGen identity
		tcMod turb 0.2 0.1 0.1 0.2
		tcMod scroll 0.05 0.05
	}
}

textures/ghost-random/greenslime
{
	qer_editorimage textures/liquids/slimeg.tga
	q3map_lightimage textures/liquids/slimeg.tga
	surfaceparm noimpact
	surfaceparm nolightmap
	surfaceparm lava
	surfaceparm trans
	surfaceparm nonsolid
	cull disable
	deformVertexes wave 128 sin 0 1 0.5 0.5 
	tessSize 32
	q3map_surfacelight 850
	qer_nocarve	
	{
		map textures/liquids/slimeg_1.tga
		rgbGen identity
		tcMod turb 0.3 0.2 1 0.3
		tcMod scroll 0.1 -0.1
	}
	{
		map textures/liquids/slimeg.tga
		blendfunc add
		rgbGen identity
		tcMod turb 0.2 0.1 1 0.3
		tcMod scroll 0.04 0.04
	}
	{
		map textures/liquids/bubbles.tga
		blendfunc gl_zero gl_one_minus_src_color
		rgbGen identity
		tcMod turb 0.2 0.1 0.1 0.2
		tcMod scroll 0.05 0.05
	}
}

textures/ghost-random/round_lights
{
	qer_editorimage textures/ghost-custom/1318.tga
	q3map_lightimage textures/ghost-custom/1318-diffuse.tga
	q3map_surfacelight 1000
	{
		map textures/ghost-custom/1318.tga
		rgbGen identity
	}
	{
		map textures/ghost-custom/1318-bump.tga
		blendfunc filter
		rgbGen identity
		tcGen lightmap 
	}
	{
		map textures/ghost-custom/1318-diffuse.tga
		blendfunc add
		rgbGen wave inversesawtooth 0 2 0 0.5 
	}
}

textures/ghost-random/spiderweb
{
	qer_editorimage textures/ghost-custom/spiderweb.tga
	cull none
	surfaceparm nolightmap
	surfaceparm nomarks
	surfaceparm nonsolid
	surfaceparm trans

	{
		map textures/ghost-custom/spiderweb.tga
		blendfunc add
		rgbGen identity
	}
}

textures/ghost-random/whitesky
{
	qer_editorimage textures/ghost-custom/whitesky.tga
	surfaceparm noimpact
	surfaceparm nomarks
	surfaceparm nolightmap

	q3map_sun 4 3 3 65 290 75
	q3map_surfacelight 50
	skyparms - 512 -

	{
		map textures/ghost-custom/whitesky.tga
		tcMod scroll 0.05 .05
		tcMod scale 2 2
		depthWrite
	}
}

textures/ghost-random/whitesky2
{
	qer_editorimage textures/ghost-custom/whitesky2.tga
	surfaceparm noimpact
	surfaceparm nomarks
	surfaceparm nolightmap

	q3map_sun 4 3 3 65 290 75
	q3map_surfacelight 50
	skyparms - 512 -

	{
		map textures/ghost-custom/whitesky2.tga
		tcMod scroll 0.05 .05
		tcMod scale 2 2
		depthWrite
	}
}
