//TEXTURES

textures/1944_beach/normandy_water
{
	qer_editorimage textures/1944_beach/normandy_water.tga
	qer_trans .75
	q3map_globaltexture
	cull disable
	nocompress
	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

	}
	{
		map textures/liquids_sd/seawall_foam.tga
		blendFunc GL_SRC_ALPHA GL_ONE
		rgbGen wave sin 0.2 0.1 0 0.2
		alphaGen vertex
		tcMod turb 0 0.15 0 0.45
		tcmod scroll -0.03 0.24
	}
	
}

textures/1944_beach/normandy_waternodraw
{
	qer_editorimage textures/1944_beach/normandy_waternodraw.tga
	qer_trans .05
	surfaceparm nodraw
	surfaceparm water
	surfaceparm fog
	
	fogparms ( 0.4 0.4 0.4 ) 1488
}

textures/1944_beach/beach_clouds
{
	nocompress
	qer_editorimage textures/1944_beach/beach_topclouds.tga
	q3map_lightrgb 0.7 0.8 0.85
	q3map_sun 1 .96 .87 120 140 60
	q3map_skylight 60 3
	q3map_nofog
	surfaceparm noimpact
	surfaceparm nolightmap
	surfaceparm nodlight
	surfaceparm sky
	
	skyparms textures/skies_sd/wurzburg_env/sky 512 -

 
	sunshader textures/1944_beach/beach_sun
 
	
	{	fog off
		map textures/1944_beach/beach_topclouds.tga
		tcMod scale 2.5 2.5
		tcMod scroll 0.0015 -0.003
		rgbGen identityLighting
	}

	{
		fog off
		clampmap textures/1944_beach/beach_sky_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 identityLighting
		//rgbGen const ( 0.6 0.6 0.6 ) 
		rgbGen const ( 0.4 0.4 0.4 ) 
	}
}

textures/1944_beach/beach_sun
{
	cull none
	q3map_nofog
	nofog
	{
		map textures/1944_beach/beach_sun.tga
		blendFunc GL_SRC_ALPHA GL_ONE
		rgbGen identityLighting
	}
}

textures/1944_beach/beach_grass
{
	qer_editorimage textures/temperate_sd/master_grass_dirt3.tga
	q3map_foliage models/foliage/weed.md3 1.0 16 0.010 0
	surfaceparm landmine
	surfaceparm grasssteps
	implicitMap -
}

textures/1944_beach/metal_lattice
{
	qer_trans 0.85
	qer_editorimage textures/1944_beach/metal_lattice.tga
	cull disable
	nomipmaps
	nopicmip

	surfaceparm clipmissile
	surfaceparm nomarks
	surfaceparm alphashadow
	surfaceparm playerclip
	surfaceparm metalsteps
	surfaceparm pointlight
	surfaceparm trans

	implicitMask textures/1944_beach/metal_lattice.tga
}

textures/1944_beach/window_1
{
	surfaceparm trans
	surfaceparm alphashadow
	surfaceparm pointlight
	implicitBlend -
}

textures/1944_beach/ivy
{
	cull disable
	nomipmaps
	nopicmip
	surfaceparm nomarks
	surfaceparm alphashadow
	surfaceparm grasssteps
	surfaceparm pointlight
	surfaceparm trans
	implicitMask -
}

textures/video/warvideo1
{
	{
		videomap video/warvideo1.roq
		rgbGen identity
	}
}

textures/-=AN=-/anlogo
{
	cull disable
	nomipmaps
	nopicmip
	surfaceparm nomarks
	surfaceparm alphashadow
	surfaceparm grasssteps
	surfaceparm pointlight
	surfaceparm trans
	implicitMask -
}

textures/-=AN=-/flag_axis
{
	cull disable
	nomipmaps
	nopicmip
	deformVertexes wave 100 sin 0 3 0 .9
	deformVertexes wave 100 sin 0 3 0 .9
	nofog
	surfaceparm alphashadow
	surfaceparm nomarks
	surfaceparm pointlight
	surfaceparm trans
	tessSize 64
	implicitBlend -
}

textures/-=AN=-/flag_allied
{
	cull disable
	nomipmaps
	nopicmip
	deformVertexes wave 100 sin 0 3 0 .9
	deformVertexes wave 100 sin 0 3 0 .9
	nofog
	surfaceparm alphashadow
	surfaceparm nomarks
	surfaceparm pointlight
	surfaceparm trans
	tessSize 64
	implicitBlend -
}

//Models

models/mapobjects/electronics/radar_01
{
	qer_editorimage models/mapobjects/electronics/radar_01.tga
	surfaceparm metalsteps
	
	{
		map $lightmap
		rgbGen identity
	}
	{
		map models/mapobjects/electronics/radar_01.tga
		blendFunc GL_DST_COLOR GL_ZERO
		rgbGen identity
	}
	{
		map models/mapobjects/electronics/radar_beep.jpg
		tcMod rotate -.1
		blendFunc GL_ONE GL_ONE
	}
	{
		map models/mapobjects/electronics/radar_sweep.jpg
		tcMod rotate 90
		blendFunc GL_ONE GL_ONE
	}
}

models/rayban/projector/projector
{
	implicitmap -
}

models/rayban/projector/lens
{
	surfaceparm nomarks		
      surfaceparm nolightmap
	{
		map models/rayban/projector/lens.tga
	}
	{
		map models/rayban/projector/lens.tga
		blendfunc add
		rgbGen wave triangle .5 .2 .5 3.5
	}	
}

models/rayban/projector/film
{
	qer_editorimage models/rayban/projector/film.tga
	cull twosided
	surfaceparm nomarks
	{
		map models/rayban/projector/film.tga
            rgbGen vertex
		tcMod scroll 4.0 0.0
	}
}

models/rayban/projector/film_trans
{
	qer_editorimage models/rayban/projector/film.tga
	cull twosided
      surfaceparm trans
	surfaceparm nomarks 
	{
		map models/rayban/projector/film.tga
		//alphaFunc GE128
		blendfunc blend
		depthWrite
            rgbGen vertex
		tcMod scroll 2.0 0.0
	}
}

models/rayban/projector/reel
{
	qer_editorimage models/rayban/projector/reel.tga
	cull twosided
	surfaceparm nomarks
	{
		map models/rayban/projector/reel.tga
		alphaFunc GE128
		depthWrite
            rgbGen vertex
		tcmod rotate -200
	}

}

models/rayban/projector/beam
{
	cull disable
      surfaceparm trans
	surfaceparm nomarks
	surfaceparm nonsolid		
      surfaceparm nolightmap
	{
		map models/rayban/projector/beam.tga
		blendfunc add
		rgbGen wave triangle .5 .2 .5 3.5
	}	
}

models/rayban/gramaphone/gramaphone
{
	qer_editorimage models/rayban/gramaphone/gramaphone.tga
	{
		map models/rayban/gramaphone/gramaphone.tga
		rgbGen identity
	}
	{
		map $lightmap
		blendFunc GL_DST_COLOR GL_ZERO
		rgbGen identity
	}
}

models/rayban/gramaphone/record
{
	qer_editorimage models/rayban/gramaphone/record.tga
	surfaceparm nomarks
	{
		map models/rayban/gramaphone/record.tga
            rgbGen vertex
		tcmod rotate 100
	}
}

models/rayban/gramaphone/turntable
{
	qer_editorimage models/rayban/gramaphone/gramaphone.tga
	cull twosided
	surfaceparm nomarks
	{
		map models/rayban/gramaphone/gramaphone.tga
		rgbgen vertex
		tcMod scroll 1.0 0.0
	}
}

models/rayban/gramaphone/gramaphone_chrome
{
	qer_editorimage models/rayban/gramaphone/gramaphone.tga
	surfaceparm nomarks
	{
		map textures/effects/tinfx.tga
		rgbGen identity
		tcGen environment 
	}
	{
		map models/rayban/gramaphone/gramaphone.tga
		blendfunc blend
		rgbGen identity
	}
}

models/rayban/gramaphone/horn
{
	qer_editorimage models/rayban/gramaphone/gramaphone.tga
	cull twosided
	surfaceparm nomarks
	{
		map models/rayban/gramaphone/gramaphone.tga
		rgbGen identity
	}
	{
		map $lightmap
		blendFunc GL_DST_COLOR GL_ZERO
		rgbGen identity
	}
}

models/mapobjects/vna-trees/willow2
{
	qer_alphafunc greater 0.5
	qer_editorimage models/mapobjects/vna-trees/willow2.tga
	cull disable
	nopicmip
	surfaceparm alphashadow
	surfaceparm trans
	surfaceparm nomarks
	nopicmip
	implicitMask -
}