

textures/lighthouse/rock2stones
{ 
   qer_editorimage textures/lighthouse/rock2stones.tga  
    
   q3map_lightmapsampleoffset 16 
   q3map_lightmapmergable 
   q3map_shadeangle 60
   q3map_nonplanar 
   q3map_forcemeta 
   q3map_tcgen ivector ( 512 0 0 ) ( 0 512 0 )
   surfaceparm landmine 
   surfaceparm gravelsteps   
   { 
      map textures/lighthouse/rock1.tga 
	rgbGen identity 
   } 
   { 
       map textures/lighthouse/stones.tga   
     	 blendFunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA             
       rgbGen identity 
       alphaGen vertex 
    } 
    { 
             map $lightmap 
             blendFunc GL_DST_COLOR GL_ZERO
             rgbGen identity
    } 
}

textures/lighthouse/rock2stonesb
{ 
   qer_editorimage textures/lighthouse/rock2stonesb.tga  
    
   q3map_lightmapsampleoffset 16 
   q3map_lightmapmergable 
   q3map_shadeangle 60
   q3map_nonplanar 
   q3map_forcemeta 
   q3map_tcgen ivector ( 512 0 0 ) ( 0 512 0 )
   surfaceparm landmine 
   surfaceparm gravelsteps   
   { 
      map textures/lighthouse/rock.tga 
	rgbGen identity 
   } 
   { 
       map textures/lighthouse/stones.tga   
     	 blendFunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA             
       rgbGen identity 
       alphaGen vertex 
    } 
    { 
             map $lightmap 
             blendFunc GL_DST_COLOR GL_ZERO
             rgbGen identity
    } 
}


//attempt to blend different texture axes
textures/lighthouse/rock2rock1

{ 
   qer_editorimage textures/lighthouse/rock1.tga  
    
   q3map_lightmapsampleoffset 16 
   q3map_lightmapmergable 
   q3map_shadeangle 60
   q3map_nonplanar 
   q3map_forcemeta 
   q3map_tcgen ivector ( 0 512 0 ) ( 0 0 512 )
   //surfaceparm landmine 
   //surfaceparm snowsteps   
   { 
      map textures/lighthouse/rock.tga 
	rgbGen identity 
   } 
   { 
       map textures/lighthouse/rock1.tga   
     	 blendFunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA             
       rgbGen identity 
       alphaGen vertex 
    } 
    { 
             map $lightmap 
             blendFunc GL_DST_COLOR GL_ZERO
             rgbGen identity
    } 
}

textures/lighthouse/rock2grass
{ 
   qer_editorimage textures/lighthouse/rock2grass.tga  
    
   q3map_lightmapsampleoffset 16 
   q3map_lightmapmergable 
   q3map_shadeangle 60
   q3map_nonplanar 
   q3map_forcemeta 
   q3map_tcgen ivector ( 512 0 0 ) ( 0 512 0 )
   surfaceparm landmine 
   surfaceparm grasssteps   
   { 
      map textures/lighthouse/rock1.tga 
	rgbGen identity 
   } 
   { 
       map textures/lighthouse/grass.tga   
     	 blendFunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA             
       rgbGen identity 
       alphaGen vertex 
    } 
    { 
             map $lightmap 
             blendFunc GL_DST_COLOR GL_ZERO
             rgbGen identity
    } 
}

textures/lighthouse/rock
{
 	q3map_nonplanar
 	q3map_shadeangle 60
	//qer_editorimage textures/lighthouse/rock.tga
	//invector line attempt
	q3map_tcgen ivector ( 0 512 0 ) ( 0 0 512 )

 	{
 		map $lightmap
 		rgbGen identity
	}
 	{
 		map textures/lighthouse/rock.tga
 		blendFunc filter
 	}
}

textures/lighthouse/rock1
{
 	q3map_nonplanar
 	q3map_shadeangle 60
	//qer_editorimage textures/lighthouse/rock1.tga
	q3map_tcgen ivector ( 512 0 0 ) ( 0 512 0 )

 	{
 		map $lightmap
 		rgbGen identity
	}
 	{
 		map textures/lighthouse/rock.tga
 		blendFunc filter
 	}
}

textures/lighthouse/diamond
{
	qer_editorimage textures/lighthouse/diamond.tga
	cull disable
	nomipmaps
	nopicmip
	surfaceparm nomarks
	surfaceparm alphashadow
	surfaceparm metalsteps
	surfaceparm pointlight
	surfaceparm trans
	implicitMask -
}
textures/lighthouse/green_light
{
	qer_editorimage textures/lighthouse/green_light.tga
	q3map_surfacelight 750
	
	polygonOffset
	surfaceparm trans
	surfaceparm pointlight
	surfaceparm nonsolid
	surfaceparm nomarks
	{
		map $lightmap
		rgbGen identity
	}
	{
		map textures/lighthouse/green_light.tga
		blendFunc GL_DST_COLOR GL_ZERO
		rgbGen identity
	}
	{
		map textures/lighthouse/light_blend.tga
		blendFunc GL_ONE GL_ONE
	}
}

textures/lighthouse/lighthouse_barbwire
{
	qer_editorimage textures/lighthouse/lighthouse_barbwire.tga
	cull disable
	nomipmaps
	nopicmip
	surfaceparm nomarks
	surfaceparm alphashadow
	surfaceparm metalsteps
	surfaceparm pointlight
	surfaceparm trans
	implicitMask -
}

levelshots/lighthouse_cc_automap
{
   nopicmip
   nocompress
   nomipmaps
   {
      clampmap levelshots/lighthouse_cc.tga
      depthFunc equal
      rgbGen identity
   }
}

levelshots/lighthouse_cc_trans
{
   nopicmip
   nocompress
   nomipmaps
   {
      clampmap levelshots/lighthouse_cc.tga
      blendfunc blend
      rgbGen identity
      alphaGen vertex
   }
}

textures/lighthouse/lighthousesky
{
	qer_editorimage textures/lighthouse/lighthousesky.tga
	q3map_globaltexture
	q3map_lightsubdivide 1024
	q3map_sun 0.80 0.80 0.45 70 10 40
	q3map_surfacelight 95
	skyparms - 200 -
	surfaceparm nodlight
	surfaceparm noimpact
	surfaceparm nolightmap
	surfaceparm sky
}

textures/lighthouse/red_light
{
	qer_editorimage textures/lighthouse/red_light.tga
	q3map_surfacelight 750
	
	polygonOffset
	surfaceparm trans
	surfaceparm pointlight
	surfaceparm nonsolid
	surfaceparm nomarks
	{
		map $lightmap
		rgbGen identity
	}
	{
		map textures/lighthouse/red_light.tga
		blendFunc GL_DST_COLOR GL_ZERO
		rgbGen identity
	}
	{
		map textures/lighthouse/light_blend.tga
		blendFunc GL_ONE GL_ONE
	}
}

textures/lighthouse/seaweed_wall1
{ 
	qer_editorimage textures/lighthouse/seaweed_wall1.tga
	q3map_nonplanar 
	q3map_shadeangle 120 
	surfaceparm trans 
	surfaceparm nonsolid 
	surfaceparm pointlight
	surfaceparm nomarks
	polygonOffset
	
	sort decal
	
	{
		map textures/lighthouse/seaweed_wall1.tga
       		blendFunc GL_ZERO GL_ONE_MINUS_SRC_COLOR
		rgbGen identity
	}
}

textures/lighthouse/yellow_light
{
	qer_editorimage textures/lighthouse/yellow_light.tga
	q3map_surfacelight 750
	
	polygonOffset
	surfaceparm trans
	surfaceparm pointlight
	surfaceparm nonsolid
	surfaceparm nomarks
	{
		map $lightmap
		rgbGen identity
	}
	{
		map textures/lighthouse/yellow_light.tga
		blendFunc GL_DST_COLOR GL_ZERO
		rgbGen identity
	}
	{
		map textures/lighthouse/light_blend.tga
		blendFunc GL_ONE GL_ONE
	}
}

textures/lighthouse/gate_shadow
{ 
	qer_editorimage textures/lighthouse/gate_shadow.tga
	q3map_nonplanar 
	q3map_shadeangle 120 
	surfaceparm trans 
	surfaceparm nonsolid 
	surfaceparm pointlight
	surfaceparm nomarks
	polygonOffset
	
	sort decal
	
	{
		map textures/lighthouse/gate_shadow.tga
       		blendFunc GL_ZERO GL_ONE_MINUS_SRC_COLOR
		rgbGen const ( 0.25 0.25 0.25 )
	}
}

textures/lighthouse/rusty2
{
	qer_editorimage textures/lighthouse/rusty2.jpg
	surfaceparm metalsteps
	implicitMap -
}

textures/lighthouse/keepout
{
	qer_editorimage textures/lighthouse/keepout.jpg
	surfaceparm metalsteps
	implicitMap -
}
textures/lighthouse/metal_squares
{
	qer_editorimage textures/lighthouse/metal_squares.jpg
	surfaceparm metalsteps
	implicitMap -
}

textures/lighthouse/lighthouse_barbwire
{
	qer_editorimage textures/lighthouse/lighthouse_barbwire.tga
	cull disable
	nomipmaps
	nopicmip
	surfaceparm nomarks
	surfaceparm alphashadow
	surfaceparm metalsteps
	surfaceparm pointlight
	surfaceparm trans
	implicitMask -
}

textures/lighthouse/tower_beams
{
	qer_editorimage textures/lighthouse/tower_beams_edit.tga
	cull disable
	nomipmaps
	nopicmip
	surfaceparm nomarks
	surfaceparm alphashadow
	surfaceparm metalsteps
	surfaceparm pointlight
	surfaceparm trans
	surfaceparm nonsolid
	surfaceparm playerclip
	implicitMask -
}

textures/lighthouse/tower_beams2
{
	qer_editorimage textures/lighthouse/tower_beams2_edit.tga
	cull disable
	nomipmaps
	nopicmip
	surfaceparm nomarks
	surfaceparm alphashadow
	surfaceparm metalsteps
	surfaceparm pointlight
	surfaceparm trans
	surfaceparm nonsolid
	surfaceparm playerclip
	implicitMask -
}



textures/lighthouse/lighthouse_grass_dense1
{
	qer_editorimage textures/lighthouse/lighthouse_grass_dense1.tga
	surfaceparm grasssteps
	surfaceparm landmine
	implicitMap -
}

textures/lighthouse/lighthouse_water2
{
	qer_editorimage textures/lighthouse/lighthouse_water2.tga
	qer_trans .75
	q3map_globaltexture
	cull disable
	nocompress
	deformVertexes wave 64 sin .5 .5 0 .5
	surfaceparm nomarks
	surfaceparm nonsolid
	surfaceparm trans
	surfaceparm water
	waterfogvars ( 0.11 0.13 0.15 ) 0.1
	nopicmip
{
		map textures/liquids_sd/seawall_specular.tga
		blendFunc GL_ONE GL_ONE
		rgbGen vertex
		tcGen environment
		depthWrite
	}
	
	{ 
		map textures/liquids_sd/sea_bright_na.tga
		blendFunc blend
		rgbGen identity
		alphaGen const .8
		tcmod scroll 0.015 0.09

	}
	
}

textures/lighthouse/lighthousesky
{
	qer_editorimage textures/lighthouse/lighthousesky.tga
	q3map_globaltexture
	q3map_lightsubdivide 1024
	q3map_sun 0.80 0.80 0.45 60 10 40
	q3map_surfacelight 95
	skyparms - 200 -
	surfaceparm nodlight
	surfaceparm noimpact
	surfaceparm nolightmap
	surfaceparm sky
}

textures/lighthouse/red_light
{
	qer_editorimage textures/lighthouse/red_light.tga
	q3map_surfacelight 750
	
	polygonOffset
	surfaceparm trans
	surfaceparm pointlight
	surfaceparm nonsolid
	surfaceparm nomarks
	{
		map $lightmap
		rgbGen identity
	}
	{
		map textures/lighthouse/red_light.tga
		blendFunc GL_DST_COLOR GL_ZERO
		rgbGen identity
	}
	{
		map textures/lighthouse/light_blend.tga
		blendFunc GL_ONE GL_ONE
	}
}

textures/lighthouse/rusty
{
	qer_editorimage textures/lighthouse/rusty.jpg
	surfaceparm metalsteps
	surfaceparm nomarks
	implicitMap -
}

textures/lighthouse/seaweed_wall1
{ 
	qer_editorimage textures/lighthouse/seaweed_wall1.tga
	q3map_nonplanar 
	q3map_shadeangle 120 
	surfaceparm trans 
	surfaceparm nonsolid 
	surfaceparm pointlight
	surfaceparm nomarks
	polygonOffset
	
	sort decal
	
	{
		map textures/lighthouse/seaweed_wall1.tga
       		blendFunc GL_ZERO GL_ONE_MINUS_SRC_COLOR
		rgbGen identity
	}
}

textures/lighthouse/seaweed_wall1_fade 
{ 
	qer_editorimage textures/lighthouse/seaweed_wall1_fade.tga
	q3map_nonplanar 
	q3map_shadeangle 120 
	surfaceparm trans 
	surfaceparm nonsolid 
	surfaceparm pointlight
	surfaceparm nomarks
	polygonOffset
	
	sort decal
	
	{
		map textures/lighthouse/seaweed_wall1_fade.tga
       		blendFunc GL_ZERO GL_ONE_MINUS_SRC_COLOR
		rgbGen identity
	}
}

textures/lighthouse/yellow_light
{
	qer_editorimage textures/lighthouse/yellow_light.tga
	q3map_surfacelight 750
	
	polygonOffset
	surfaceparm trans
	surfaceparm pointlight
	surfaceparm nonsolid
	surfaceparm nomarks
	{
		map $lightmap
		rgbGen identity
	}
	{
		map textures/lighthouse/yellow_light.tga
		blendFunc GL_DST_COLOR GL_ZERO
		rgbGen identity
	}
	{
		map textures/lighthouse/light_blend.tga
		blendFunc GL_ONE GL_ONE
	}
}


textures/lighthouse/grass_alpha
{
	qer_editorimage textures/lighthouse/grass_alpha_edit.tga		
	polygonOffset
	surfaceparm pointlight
	implicitBlend -
	nomipmaps	
	surfaceparm alphashadow
	surfaceparm grasssteps
	surfaceparm landmine
	surfaceparm nomarks

	{
		map textures/lighthouse/grass_alpha.tga
		blendFunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA
		rgbGen vertex
	}
}

textures/lighthouse/grass_alpha2
{
	qer_editorimage textures/lighthouse/grass_alpha2_edit.tga		
	polygonOffset
	surfaceparm pointlight
	implicitBlend -
	nomipmaps	
	surfaceparm alphashadow
	surfaceparm grasssteps
	surfaceparm landmine

	{
		map textures/lighthouse/grass_alpha2.tga
		blendFunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA
		rgbGen vertex
	}
}

textures/lighthouse/lighthouse_mesh
{
	qer_trans 0.85
	cull disable
	nomipmaps
	nopicmip

	surfaceparm nomarks
	surfaceparm alphashadow
	surfaceparm playerclip
	surfaceparm pointlight
	surfaceparm trans

	implicitMask -
}




