//ww gothic shader

textures/gothic_block/pulpywalla:q3map
{
surfaceparm noob
}
textures/gothic_block/pulpywalla:q3map
{
surfaceparm noob
}
textures/gothic_block/smblk3b3dim_wall:q3map
{
surfaceparm noob
}
textures/gothic_floor/largerblock3b3dim:q3map
{
surfaceparm noob
}
textures/gothic_trim/pitted_rust:q3map
{
surfaceparm noob
}
textures/gothic_trim/metalsupport4j:q3map
{
surfaceparm noob
}

//-----------------------------------------
textures/_mjgothic/phongwall
{
qer_editorimage textures/gothic_block/gkc10
q3map_shadeangle 70
//q3map_tcgen ivector ( 0 0 256 ) ( 256 256 0 )
q3map_nonplanar
surfaceparm noob
//q3map_lightmapbrightness .8
{
map $lightmap
rgbgen identity
}
{
map textures/gothic_block/gkc10.tga
blendfunc filter
}
}


textures/_mjgothic/skullrust
{
qer_editorimage textures/gothic_trim/newskull
q3map_shadeangle 95
q3map_nonplanar
q3map_vertexscale .4
surfaceparm noob
{
map textures/gothic_trim/newskull.tga
rgbGen identity
}
{
map textures/gothic_trim/pitted_rust3_dkred.tga
blendFunc blend
alphaGen vertex
rgbGen identity
}
{
map $lightmap
blendfunc filter
rgbgen identity
}
}

textures/_mjgothic/skullrust-jp
{
qer_editorimage textures/gothic_trim/pitted_rust3_dkred
q3map_vertexscale .4
q3map_surfacelight 20
q3map_backsplash 25 0
surfaceparm noob
{
map textures/gothic_trim/newskull.tga
rgbGen identity
}
{
map textures/gothic_trim/pitted_rust3_dkred.tga
blendFunc blend
alphaGen wave sin .3 .35 0 .75
rgbGen identity
}
{
map $lightmap
blendfunc filter
rgbgen identity
}
}

textures/_mjgothic/slickshine
{
surfaceparm slick
	{
		map textures/base_wall/chrome_env.tga
		tcGen environment
		tcmod scale .25 .25
	}
	{
		map textures/gothic_trim/pitted_rust.tga
		blendFunc GL_ONE GL_ONE
		//detail
		tcMod scale .5 .5
		rgbGen identity
	}
	{
		map $lightmap
		rgbgen identity
		blendFunc GL_DST_COLOR GL_ZERO
	}
}

textures/_mjgothic/slickshine-noob
{
qer_editorimage textures/base_wall/chrome_env
surfaceparm slick
surfaceparm noob
	{
		map textures/base_wall/chrome_env.tga
		tcGen environment
		tcmod scale .25 .25
	}
	{
		map textures/gothic_trim/pitted_rust.tga
		blendFunc GL_ONE GL_ONE
		//detail
		tcMod scale .5 .5
		rgbGen identity
	}
	{
		map $lightmap
		rgbgen identity
		blendFunc GL_DST_COLOR GL_ZERO
	}
}


textures/_mjgothic/beblack
{
qer_editorimage gfx/colors/black
surfaceparm nolightmap
surfaceparm noimpact
surfaceparm noob
{
map gfx/colors/black.tga
}
}


textures/_mjgothic/darkredfog
{
qer_editorimage gfx/colors/black
	surfaceparm nonsolid
	surfaceparm nolightmap
	surfaceparm trans
	surfaceparm fog
fogparms ( 0.15 0.02 0 ) 4096
}

textures/_mjgothic/bloodrust
{
qer_editorimage textures/gothic_trim/pitted_rust3_dkred
surfaceparm water
surfaceparm trans
q3map_surfacelight 35
q3map_backsplash 8 24
cull disable
tesssize 128
deformVertexes wave 64 sin .25 .25 0 .5
	{
		map textures/liquids/pool3d_3e.tga
		blendFunc filter
tcmod transform 1.5 0 1.5 1 1 2
tcMod turb .25 0.2 1 0.02
		tcmod scale -.5 -.5
		tcmod scroll .025 .025
	}
{
map textures/gothic_trim/pitted_rust3_dkred.tga
blendfunc add
tcmod scale 1 1
tcmod scroll -.006 .003
}
{
map $lightmap
blendFunc filter
rgbgen identity
}
}

textures/_mjgothic/pulsebeam
{
qer_editorimage textures/sfx/beam_red.tga
	surfaceparm trans
	surfaceparm nomarks
	surfaceparm nonsolid
	surfaceparm nolightmap
	qer_trans .5
	cull none
	{
		map textures/sfx/beam_red.tga
		tcMod Scroll .3 0
		blendFunc add
alphaGen wave sin 1 .35 0 .75
	}
}