textures/reactor/reactor_night
{
	qer_editorimage textures/skies/sky_8.tga
	q3map_skylight 60 3 //was 30 3
	q3map_sun 0.3 0.3 0.45 60 35 45 //was 30 35 45
	nocompress
	skyparms - 200 -
	sunshader textures/skies_sd/full_moon2
	surfaceparm noimpact
	surfaceparm nolightmap
	surfaceparm sky
	
	skyparms textures/skies_sd/wurzburg_env/sky 512 -
 
	
	{	fog off
		map textures/skies_sd/goldrush_clouds.tga
		tcMod scale 5 5
		tcMod scroll 0.0015 -0.003
		rgbGen identityLighting
	}


	{	fog off
		map textures/skies/nightsky1.jpg
		tcMod scale 10 10
		blendfunc add
		rgbGen identityLighting
	}

	{
		fog off
		clampmap textures/skies_sd/goldrush_mask.tga
		blendFunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA
		tcMod scale 0.956 0.956
		tcMod transform 1 0 0 1 -1 -1
		rgbGen const ( 0.4 0.4 0.4 ) 
	}
}


textures/reactor/terrain_base
{
	q3map_tcGen ivector ( 256 0 0 ) ( 0 256 0 )
	q3map_lightmapsize 512 512
	q3map_lightmapMergable
	q3map_lightmapsamplesize 16
	q3map_lightmapaxis z
	q3map_shadeangle 179
}

textures/reactor/terrain_0
{
	q3map_baseshader textures/reactor/terrain_base
	surfaceparm landmine
	surfaceparm grasssteps
	{
		map textures/temperate_sd/grass_dense1.tga
		//tcMod scale 0.500 0.500
	}
	{
		map $lightmap
		blendFunc GL_DST_COLOR GL_ZERO
	}
}

textures/reactor/terrain_1
{
	q3map_baseshader textures/reactor/terrain_base
	surfaceparm landmine
	surfaceparm gravelsteps
	{
		map textures/temperate_sd/rock_grayvar.tga
		//tcMod scale 0.500 0.500
	}
	{
		map $lightmap
		blendFunc GL_DST_COLOR GL_ZERO
	}
}

textures/reactor/terrain_2
{
	q3map_baseshader textures/reactor/terrain_base
	surfaceparm landmine
	surfaceparm gravelsteps
	{
		map textures/temperate_sd/dirt_m03icmp_brown.jpg
		//tcMod scale 0.500 0.500
	}
	{
		map $lightmap
		blendFunc GL_DST_COLOR GL_ZERO
	}
}

textures/reactor/terrain_3
{
	q3map_baseshader textures/reactor/terrain_base
	surfaceparm landmine
	surfaceparm grasssteps
	{
		map textures/temperate_sd/grass_path1.tga
		//tcMod scale 0.500 0.500
	}
	{
		map $lightmap
		blendFunc GL_DST_COLOR GL_ZERO
	}
}

textures/reactor/terrain_0to1
{
	q3map_baseshader textures/reactor/terrain_base
	{
		map textures/temperate_sd/grass_dense1.tga
		rgbGen identity
	}
	{
		map textures/temperate_sd/rock_grayvar.tga
		alphaGen vertex
		blendFunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA
	}
	{
		map $lightmap
		blendFunc GL_DST_COLOR GL_ZERO
	}
}

textures/reactor/terrain_0to2
{
	q3map_baseshader textures/reactor/terrain_base
	{
		map textures/temperate_sd/grass_dense1.tga
		rgbGen identity
	}
	{
		map textures/temperate_sd/dirt_m03icmp_brown.jpg
		alphaGen vertex
		blendFunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA
	}
	{
		map $lightmap
		blendFunc GL_DST_COLOR GL_ZERO
	}
}

textures/reactor/terrain_0to3
{
	q3map_baseshader textures/reactor/terrain_base
	{
		map textures/temperate_sd/grass_dense1.tga
		rgbGen identity
	}
	{
		map textures/temperate_sd/grass_path1.tga
		alphaGen vertex
		blendFunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA
	}
	{
		map $lightmap
		blendFunc GL_DST_COLOR GL_ZERO
	}
}

textures/reactor/terrain_1to2
{
	q3map_baseshader textures/reactor/terrain_base
	{
		map textures/temperate_sd/rock_grayvar.tga
		rgbGen identity
	}
	{
		map textures/temperate_sd/dirt_m03icmp_brown.jpg
		alphaGen vertex
		blendFunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA
	}
	{
		map $lightmap
		blendFunc GL_DST_COLOR GL_ZERO
	}
}

textures/reactor/terrain_1to3
{
	q3map_baseshader textures/reactor/terrain_base
	{
		map textures/temperate_sd/rock_grayvar.tga
		rgbGen identity
	}
	{
		map textures/temperate_sd/grass_path1.tga
		alphaGen vertex
		blendFunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA
	}
	{
		map $lightmap
		blendFunc GL_DST_COLOR GL_ZERO
	}
}

textures/reactor/terrain_2to3
{
	q3map_baseshader textures/reactor/terrain_base
	{
		map textures/temperate_sd/dirt_m03icmp_brown.jpg
		rgbGen identity
	}
	{
		map textures/temperate_sd/grass_path1.tga
		alphaGen vertex
		blendFunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA
	}
	{
		map $lightmap
		blendFunc GL_DST_COLOR GL_ZERO
	}
}

textures/reactor/catwalk
{
	cull disable
	nomipmaps
	nopicmip
	surfaceparm clipmissile
	surfaceparm nomarks
	surfaceparm alphashadow
	surfaceparm metalsteps
	surfaceparm pointlight
	surfaceparm trans
	implicitMask -
}

//textures/reactor/catwalk
//{
//	qer_editorimage textures/alpha/fence_c10.tga
//	surfaceparm clipmissile
//	implicitmap textures/alpha/fence_c10.tga
//}


textures/reactor/coolant
{
	nocompress
	qer_editorimage textures/reactor/coolant.tga
	qer_trans .5
	q3map_globaltexture
	q3map_surfacelight 100

	surfaceparm water
	surfaceparm trans
	surfaceparm nonsolid
	surfaceparm lightfilter

	tessSize 256
	cull disable
	//deformVertexes wave 100 sin 0 2 .5 .25
	{ 
		map textures/reactor/coolant.tga
		rgbGen identity
		blendFunc blend
		alphaGen const 0.7
		depthWrite
		tcmod scale .5 .5
		tcmod turb 0 0.01 0 0.15
		tcmod scroll .01 .01
	}
	{
		map $lightmap
		blendFunc GL_DST_COLOR GL_ZERO
		rgbgen identity
		depthFunc equal	
	}
}

textures/reactor/reactor_panel_01
{
	surfaceparm metalsteps
	implicitMap -
}

textures/reactor/reactor_panel_01_light
{
	qer_editorimage textures/reactor/reactor_panel_01.tga
	q3map_lightimage textures/xlab_props/softblue.tga
	q3map_lightsubdivide 128
	q3map_surfacelight 1000
	surfaceparm nomarks
	{
		map $lightmap
		rgbGen identity
	}
	{
		map textures/reactor/reactor_panel_01.tga
		blendFunc GL_DST_COLOR GL_ZERO
		rgbGen wave sin 1 .1 0 7
	}
}

textures/reactor/reactor_panel_01_damaged
{
	surfaceparm metalsteps
	implicitMap -
}

textures/reactor/reactor_panel_02
{
	surfaceparm metalsteps
	implicitMap -
}

textures/reactor/reactor_panel_02_light
{
	qer_editorimage textures/reactor/reactor_panel_02.tga
	q3map_lightimage textures/xlab_props/softblue.tga
	q3map_lightsubdivide 128
	q3map_surfacelight 1000
	surfaceparm nomarks
	{
		map $lightmap
		rgbGen identity
	}
	{
		map textures/reactor/reactor_panel_02.tga
		blendFunc GL_DST_COLOR GL_ZERO
		rgbGen wave sin 1 .1 0 7
	}
}

textures/reactor/screen
{
	surfaceparm metalsteps
	implicitMap -
}

textures/reactor/screen_light
{
	qer_editorimage textures/reactor/screen.tga
	q3map_lightimage textures/xlab_props/softblue.tga
	q3map_lightsubdivide 128
	q3map_surfacelight 500
	surfaceparm nomarks
	{
		map $lightmap
		rgbGen identity
	}
	{
		map textures/reactor/screen.tga
		blendFunc GL_DST_COLOR GL_ZERO
		rgbGen wave sin 1 .1 0 7
	}
}

textures/common/hintskip
{
	qer_nocarve
	qer_trans 0.3
	surfaceparm hint
	surfaceparm nodraw
	surfaceparm nonsolid
	surfaceparm structural
	surfaceparm trans
}

textures/reactor/server_nameplate
{
	nomipmaps
	nopicmip
	surfaceparm nomarks
	surfaceparm pointlight
	surfaceparm trans
	surfaceparm woodsteps
	implicitMap -
}

textures/reactor/coolant_left
{
	nomipmaps
	nopicmip
	surfaceparm nomarks
	surfaceparm pointlight
	surfaceparm trans
	surfaceparm metalsteps
	implicitMap -
}

textures/reactor/coolant_right
{
	nomipmaps
	nopicmip
	surfaceparm nomarks
	surfaceparm pointlight
	surfaceparm trans
	surfaceparm metalsteps
	implicitMap -
}

textures/reactor/pump_left
{
	nomipmaps
	nopicmip
	surfaceparm nomarks
	surfaceparm pointlight
	surfaceparm trans
	surfaceparm metalsteps
	implicitMap -
}

textures/reactor/pump_right
{
	nomipmaps
	nopicmip
	surfaceparm nomarks
	surfaceparm pointlight
	surfaceparm trans
	surfaceparm metalsteps
	implicitMap -
}

textures/reactor/generator_left
{
	nomipmaps
	nopicmip
	surfaceparm nomarks
	surfaceparm pointlight
	surfaceparm trans
	surfaceparm metalsteps
	implicitMap -
}

textures/reactor/generator_right
{
	nomipmaps
	nopicmip
	surfaceparm nomarks
	surfaceparm pointlight
	surfaceparm trans
	surfaceparm metalsteps
	implicitMap -
}

textures/reactor/barracks_left
{
	nomipmaps
	nopicmip
	surfaceparm nomarks
	surfaceparm pointlight
	surfaceparm trans
	surfaceparm metalsteps
	implicitMap -
}

textures/reactor/barracks_right
{
	nomipmaps
	nopicmip
	surfaceparm nomarks
	surfaceparm pointlight
	surfaceparm trans
	surfaceparm metalsteps
	implicitMap -
}

textures/reactor/tower1
{
	nomipmaps
	nopicmip
	surfaceparm nomarks
	surfaceparm pointlight
	surfaceparm trans
	surfaceparm metalsteps
	implicitMap -
}

textures/reactor/tower2
{
	nomipmaps
	nopicmip
	surfaceparm nomarks
	surfaceparm pointlight
	surfaceparm trans
	surfaceparm metalsteps
	implicitMap -
}

textures/reactor/logo_dummies
{
	nomipmaps
	nopicmip
	surfaceparm nomarks
	surfaceparm pointlight
	surfaceparm trans
	surfaceparm metalsteps
	implicitMap -
}

textures/reactor/logo_etnation
{
	nomipmaps
	nopicmip
	surfaceparm nomarks
	surfaceparm pointlight
	surfaceparm trans
	surfaceparm metalsteps
	implicitMap -
}

textures/reactor/logo_ffx4
{
	nomipmaps
	nopicmip
	surfaceparm nomarks
	surfaceparm pointlight
	surfaceparm trans
	surfaceparm metalsteps
	implicitMap -
}

textures/reactor/logo_mgl
{
	nomipmaps
	nopicmip
	surfaceparm nomarks
	surfaceparm pointlight
	surfaceparm trans
	surfaceparm metalsteps
	implicitMap -
}

textures/reactor/logo_splash
{
	nomipmaps
	nopicmip
	surfaceparm nomarks
	surfaceparm pointlight
	surfaceparm trans
	surfaceparm metalsteps
	implicitMap -
}

textures/reactor/logo_etgh
{
	nomipmaps
	nopicmip
	surfaceparm nomarks
	surfaceparm pointlight
	surfaceparm trans
	surfaceparm metalsteps
	implicitMap -
}

textures/reactor/logo_wwgn
{
	nomipmaps
	nopicmip
	surfaceparm nomarks
	surfaceparm pointlight
	surfaceparm trans
	surfaceparm metalsteps
	implicitMap -
}

textures/reactor/logo_wdw
{
	nomipmaps
	nopicmip
	surfaceparm nomarks
	surfaceparm pointlight
	surfaceparm trans
	surfaceparm metalsteps
	implicitMap -
}

textures/reactor/logo_wolfjaeger
{
	nomipmaps
	nopicmip
	surfaceparm nomarks
	surfaceparm pointlight
	surfaceparm trans
	surfaceparm metalsteps
	implicitMap -
}

textures/reactor/reactor01
{
	nomipmaps
	nopicmip
	surfaceparm nomarks
	surfaceparm pointlight
	surfaceparm trans
	surfaceparm metalsteps
	implicitMap -
}

textures/reactor/reactor08
{
	nomipmaps
	nopicmip
	surfaceparm nomarks
	surfaceparm pointlight
	surfaceparm trans
	surfaceparm metalsteps
	implicitMap -
}

//Based on same textures from tc_base
textures/reactor/three
{
   polygonOffset
   entityMergable
   {
      map textures/reactor/three.tga
      blendFunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA
      rgbGen vertex
      alphaGen vertex
   }
}

textures/reactor/one
{
   polygonOffset
   entityMergable
   {
      map textures/reactor/one.tga
      blendFunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA
      rgbGen vertex
      alphaGen vertex
   }
}

textures/reactor/two
{
   polygonOffset
   entityMergable
   {
      map textures/reactor/two.tga
      blendFunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA
      rgbGen vertex
      alphaGen vertex
   }
}