//************Menu Materials*******************

guis/assets/mainmenu/background_bm
{
    {
        blend gl_dst_color, gl_src_color
        map guis/assets/mainmenu/background_bm
    }
}

// Author: Dram
menu_blackheart_amulet
{
	noShadows
	nonsolid
	noimpact
    qer_editorimage	models/darkmod/props/textures/lionhead_amulet
	metal

    diffusemap  models/darkmod/props/textures/lionhead_amulet
    bumpmap     models/darkmod/props/textures/lionhead_amulet_local
    specularmap models/darkmod/props/textures/lionhead_amulet_s
}

menu_orb_mat
{
	noShadows
	nonsolid
	noimpact
	translucent

	qer_editorimage   textures/darkmod/decals/symbols/pagan_symbols_001_ed
	{
		maskcolor
		map	makealpha(textures/darkmod/decals/symbols/pagan_symbols_001)
	}

	{
		blend gl_dst_alpha, gl_one
		maskalpha
		map	textures/darkmod/decals/symbols/pagan_symbols_001_effect
		scroll	time * 0.1 , 0
		rgb 0.7
	}

	{
		blend gl_dst_alpha, gl_one
		maskalpha
		map	textures/darkmod/decals/symbols/pagan_symbols_001_effect
		scroll	time * -0.1 , 0
		rgb 0.7
	}
}

//*********Menu Cottage Materials**************

tdm_bm_leaves_scattered01_dead_bm  //Author:  Springheel
{
    surftype15
    description "foliage"

 	noshadows
	nonsolid
	noimpact

	{
       blend    diffusemap  
        map    	textures/darkmod/decals/vegetation/leaves_scattered01
          alphatest .8
	}
}

tdm_bm_ivy_bush_up_bm
{
	surftype15
	description "foliage"

	noshadows
	twosided

	{
		blend	diffusemap 	
		map	models/darkmod/props/textures/ivy1_d
		alphatest	0.5
	}

	bumpmap		models/darkmod/props/textures/ivy1_local
}

tdm_bm_ivy_bush_hanging_bm
{
	surftype15
	description "foliage"

	noshadows
	twosided

	{
		blend	diffusemap 	
		map	models/darkmod/props/textures/ivy2_d
		alphatest	0.5
	}

	bumpmap		models/darkmod/props/textures/ivy2_local
}

tdm_bm_ivy_mixed_pieces_bm //Author:  mikebart
{
    surftype15
    description "foliage"

 	noshadows
	nonsolid
	noimpact
	twosided

	qer_editorimage textures/darkmod/decals/vegetation/ivy_mixed_pieces_ed
	
	{       
     blend	diffusemap
	 map	textures/darkmod/decals/vegetation/ivy_mixed_pieces
	 alphaTest 0.1
	}
	
	specularmap	textures/darkmod/decals/vegetation/ivy_mixed_pieces_s
	bumpmap 	textures/darkmod/decals/vegetation/ivy_mixed_pieces_local
}

tdm_bm_ivypatch_large01_bm // Author: Squill
{
    surftype15
    description "foliage"

	twosided
	noshadows
	nonsolid

	qer_editorimage textures/darkmod/decals/vegetation/ivypatch_large01_ed
    {
        blend       diffusemap
        map         textures/darkmod/decals/vegetation/ivypatch_large01
        alphatest   0.5
    }
}

tdm_bm_ivypatch_average01_bm // Author: Squill
{
    surftype15
    description "foliage"

	twosided
	nonsolid
	noshadows

	qer_editorimage textures/darkmod/decals/vegetation/ivypatch_average01_ed
    {
        blend       diffusemap
        map         textures/darkmod/decals/vegetation/ivypatch_average01
        alphatest   0.5
    }
}

tdm_bm_cobweb_strands1_bm
{
	qer_editorimage	textures/darkmod/decals/webs/cobweb_strands1_ed
	translucent
	noshadows
	twosided
	nonsolid
	sort	5
	bumpmap			heightmap (textures/darkmod/decals/webs/cobweb_strands1, 2)
    diffusemap		textures/darkmod/decals/webs/cobweb_strands1
	{
		blend		specularmap	
		map			textures/darkmod/decals/webs/cobweb_strands1
		red			.25
		green		.25
		blue		.2
	}
}

tdm_bm_spiderweb_round1_bm
{
	qer_editorimage	textures/darkmod/decals/webs/spiderweb_round1_ed
	translucent
	noshadows
	twosided
	nonsolid
	sort	5
	bumpmap			heightmap (textures/darkmod/decals/webs/spiderweb_round1, 2)
    diffusemap		textures/darkmod/decals/webs/spiderweb_round1
	{
		blend		specularmap	
		map			textures/darkmod/decals/webs/spiderweb_round1
		red			.25
		green		.25
		blue		.2
	}
}

tdm_bm_spiderweb_corner1_bm
{
	qer_editorimage	textures/darkmod/decals/webs/spiderweb_corner1_ed
	translucent
	noshadows
	twosided
	nonsolid
	sort	5
	bumpmap			heightmap (textures/darkmod/decals/webs/spiderweb_corner1, 2)
    diffusemap		textures/darkmod/decals/webs/spiderweb_corner1
	{
		blend		specularmap	
		map			textures/darkmod/decals/webs/spiderweb_corner1
		red			.25
		green		.25
		blue		.2
	}
}

tdm_bm_old_worn_moldy_with_nails_bm
{
    wood
    noshadows

    description     "Based on the model texture well_square"
    qer_editorimage models/darkmod/props/textures/well_square_ed
    diffusemap      models/darkmod/props/textures/well_square
    specularmap     models/darkmod/props/textures/well_square_s
    bumpmap         models/darkmod/props/textures/well_square_local
}

tdm_bm_mossy_small_blocks_bm // Author: shotgun
{
    surftype15
    description "grass"
    noshadows
    
    qer_editorimage textures/darkmod/stone/natural/mossy_small_blocks_ed
    diffusemap      textures/darkmod/stone/natural/mossy_small_blocks
    bumpmap         textures/darkmod/stone/natural/mossy_small_blocks_local
	specularmap		textures/darkmod/stone/natural/mossy_small_blocks_s
}

tdm_bm_plaster_dirty02_cracks_bm
{
    surftype15
    description "rock"
    noshadows

    qer_editorimage textures/darkmod/plaster/plaster_dirty02_cracks_ed
    diffusemap      textures/darkmod/plaster/plaster_dirty02_cracks
    bumpmap         textures/darkmod/plaster/plaster_dirty02_cracks_local
}

tdm_bm_slate_uneven_withmoss01_bm
{
	surftype15
	description "slate"
	noshadows

    qer_editorimage textures/darkmod/roof/slate_uneven_withmoss01_ed
    diffusemap      textures/darkmod/roof/slate_uneven_withmoss01
    bumpmap         textures/darkmod/roof/slate_uneven_withmoss01_local
}

tdm_bm_leaves_fallen_01_bm // Author: Arcturus
{
    surftype15
    description "foliage"
    noshadows

    qer_editorimage textures/darkmod/nature/foliage/leaves_fallen_01_ed
    diffusemap      textures/darkmod/nature/foliage/leaves_fallen_01
    bumpmap         textures/darkmod/nature/foliage/leaves_fallen_01_local
}

tdm_bm_heavy_rust_pocked01_bm // Author: angua
{
    metal
    noshadows

    qer_editorimage    textures/darkmod/metal/flat/heavy_rust_pocked01_ed
    diffusemap         textures/darkmod/metal/flat/heavy_rust_pocked01
    bumpmap            textures/darkmod/metal/flat/heavy_rust_pocked_local
    specularmap        textures/darkmod/metal/flat/heavy_rust_pocked_s
}

//added tree for menu bkd

textures/darkmod/nature/bark/old_rough01_bm
{
    wood
	noshadows

    qer_editorimage textures/darkmod/nature/bark/old_rough01_ed
    diffusemap      textures/darkmod/nature/bark/old_rough01
    bumpmap         textures/darkmod/nature/bark/old_rough01_local
}

textures/darkmod/nature/bark/old_rough02_bm
{
    wood
	noshadows

    qer_editorimage textures/darkmod/nature/bark/old_rough02_ed
    diffusemap      textures/darkmod/nature/bark/old_rough02
    bumpmap         textures/darkmod/nature/bark/old_rough02_local
}

