//Shaders by Sage
//*********************
//Last edit 14.02.2009 4.00 am

/////////////////////////////////
//////////////Details///////////
///////////////////////////////

textures/capuzzo/door_light
{
	surfaceparm woodsteps
	implicitMap -
}

textures/capuzzo/door_light_axis
{
	surfaceparm woodsteps
	implicitMap -
}

textures/capuzzo/light_off
{
	nopicmip 
	surfaceparm metalsteps
	{
		map textures/capuzzo/light_off.tga
		rgbGen vertex
	}

}

textures/capuzzo/light_on
{
	nopicmip
	surfaceparm metalsteps
	{
		map textures/capuzzo/light_on.tga
		rgbGen vertex
	}
}

textures/capuzzo/chess
{
	nopicmip 
	implicitMap -
}

textures/capuzzo/sign_airport
{
	nopicmip 
	nomipmaps
	surfaceparm woodsteps
	implicitMap -
}

textures/capuzzo/sign_city
{
	nopicmip 
	nomipmaps
	surfaceparm woodsteps
	implicitMap -
}

textures/capuzzo/sign_command
{
	nopicmip 
	nomipmaps
	surfaceparm woodsteps
	implicitMap -
}

textures/capuzzo/sign_caves
{
	nopicmip 
	nomipmaps
	surfaceparm woodsteps
	implicitMap -
}

textures/capuzzo/sign_capuzzo_big
{
	nopicmip 
	nomipmaps
	surfaceparm woodsteps
	implicitMap -
}

textures/capuzzo/board1
{
	nopicmip 
	nomipmaps
	surfaceparm woodsteps
	implicitMap -
}

textures/capuzzo/board2
{
	nopicmip 
	nomipmaps
	surfaceparm woodsteps
	implicitMap -
}

textures/capuzzo/board3
{
	nopicmip 
	nomipmaps
	surfaceparm woodsteps
	implicitMap -
}

textures/capuzzo/box1
{
	nopicmip 
	nomipmaps
	surfaceparm woodsteps
	implicitMap -
}

textures/capuzzo/closet1
{
	nopicmip 
	nomipmaps
	surfaceparm woodsteps
	implicitMap -
}

textures/capuzzo/radio_icon
{
	nopicmip 
	nomipmaps
	surfaceparm nonsolid
	implicitMap -
}

textures/capuzzo/plane_icon
{
	nopicmip 
	nomipmaps
	surfaceparm nonsolid
	implicitMap -
}

textures/capuzzo/generator_icon
{
	qer_editorimage textures/props_sd/s_generator01.tga
	nopicmip 
	nomipmaps
	surfaceparm nonsolid
	implicitMap textures/props_sd/s_generator01.tga
}

textures/capuzzo/wheel_sd_side
{
	q3map_nonplanar
	q3map_shadeangle 60

	nopicmip 
	nomipmaps
	surfaceparm metalsteps
	implicitMap -
}


/////////////////////////////////
//////////////Walls/////////////
///////////////////////////////

textures/capuzzo/stucco08a_big
{
	q3map_nonplanar
	q3map_shadeangle 90
	implicitMap -
}

textures/capuzzo/stucco08a_big_win1
{
	q3map_nonplanar
	q3map_shadeangle 90
	implicitMap -
}

textures/capuzzo/stucco08a_big_win2
{
	q3map_nonplanar
	q3map_shadeangle 90
	implicitMap -
}

textures/capuzzo/stucco09b_big
{
	q3map_nonplanar
	q3map_shadeangle 90
	implicitMap -
}

textures/capuzzo/stucco09e_big
{
	q3map_nonplanar
	q3map_shadeangle 90
	implicitMap -
}

textures/capuzzo/stucco09e_r
{
	q3map_nonplanar
	q3map_shadeangle 90
	implicitMap -
}

textures/capuzzo/stucco10_big
{
	q3map_nonplanar
	q3map_shadeangle 90
	implicitMap -
}

textures/capuzzo/stucco_c01
{
	q3map_nonplanar
	q3map_shadeangle 90
	implicitMap -
}

textures/capuzzo/stucco_c02
{
	q3map_nonplanar
	q3map_shadeangle 90
	implicitMap -
}

textures/capuzzo/stucco_c03
{
	q3map_nonplanar
	q3map_shadeangle 90
	implicitMap -
}

textures/capuzzo/stucco_c04
{
	q3map_nonplanar
	q3map_shadeangle 90
	implicitMap -
}

textures/capuzzo/stucco_c05
{
	q3map_nonplanar
	q3map_shadeangle 90
	implicitMap -
}

textures/capuzzo/stucco_d01
{
	q3map_nonplanar
	q3map_shadeangle 90
	implicitMap -
}

textures/capuzzo/stucco_d02
{
	q3map_nonplanar
	q3map_shadeangle 90
	implicitMap -
}

textures/capuzzo/stucco_d05
{
	q3map_nonplanar
	q3map_shadeangle 90
	implicitMap -
}

/////////////////////////////////
//////////////Misc//////////////
///////////////////////////////

textures/capuzzo/s_door3_t
{
	surfaceparm woodsteps
	implicitMap -
}

textures/capuzzo/metal_rust4
{
	q3map_nonplanar
	q3map_shadeangle 60

	surfaceparm metalsteps
	implicitMap -
}

textures/capuzzo/metal_rust5
{
	q3map_nonplanar
	q3map_shadeangle 60

	surfaceparm metalsteps
	implicitMap -
}

textures/capuzzo/sandy_dirt_01
{
	qer_editorimage textures/egypt_floor_sd/sandy_dirt_01.tga

	implicitMap textures/egypt_floor_sd/sandy_dirt_01.tga
}

textures/capuzzo/green_metal
{
	surfaceparm nonsolid
	implicitMap -
}

textures/capuzzo/blue_metal
{
	surfaceparm nonsolid
	implicitMap -
}

textures/capuzzo/red_metal
{
qer_editorimage textures/metal_misc/metal_m04r2.tga
	surfaceparm nonsolid
	implicitMap textures/metal_misc/metal_m04r2.tga
}

textures/capuzzo/clip_gravel
{
	qer_trans 0.3
	surfaceparm clipmissile
	surfaceparm gravelsteps
	surfaceparm landmine
	surfaceparm nodraw
	surfaceparm nomarks
	//surfaceparm playerclip
	surfaceparm trans
}


/////////////////////////////////
//////////////Sky///////////////
///////////////////////////////
//this is almost as siwa sky but I tweaked the light quality

textures/capuzzo/siwasky
{
	nocompress
	qer_editorimage textures/skies_sd/nero_bluelight.tga
	q3map_lightimage textures/skies_sd/siwa_clouds.tga
	
	//q3map_sunExt 0.75 0.70 0.6 135 199 49 3 32	
//same as q3map_sun +  deviance (half shadows)+ samples >>comment this after compile!!

	q3map_sun 0.75 0.70 0.6 135 199 49		
//comment this while compiling, this is for ingame use only, the sunExt doesn't put up the sun shader correctly ingame

	q3map_lightmapFilterRadius 0 8			//to stop "stadium lights" without longer compile

	q3map_skylight 75 6					//amount (brightness) + iterations ("quality")

	sunshader textures/skies_sd/siwasunbright
	
	surfaceparm noimpact
	surfaceparm nolightmap
	surfaceparm nodlight
	surfaceparm sky
	
	skyparms textures/skies_sd/wurzburg_env/sky 512 -
 
	{
		fog off
		clampmap textures/skies_sd/siwa_mask.tga
		tcMod scale 0.956 0.956
		tcMod transform 1 0 0 1 -1 -1
		rgbGen identityLighting

	}
}