// Valve Material Setup 2014. Brought you by Studio Apocalyptic.
// Written by Yogensia and Rafael De Jongh
// More information: http://source.gamebanana.com/tuts/11498
// Parameter Cheat Sheet: http://bit.ly/1ibGMCe (Google Drive Spreadsheet)

Vertexlitgeneric
{

	// MAIN SETTINGS
	$basetexture                "models\weapons\v_models\CZ805_Bren\sleeve_Diffuse"      // Diffuse Map
	$bumpmap                    "models\weapons\v_models\CZ805_Bren\sleeve_Normal"       // Normal Map

	// PHONG SHADING
	$phong                      1                      // Enable Phong Shading
	$phongboost                 0.6                   // Increase brightness of Phong highlight
	$phongfresnelranges         "[1 4 6]"              // Intensity of Phong depending on view angle
	$phongtint                  "[.8 .8 1]"            // Tint the phong highlight (RGB value)
	$normalmapalphaphongmask    1                      // Use alpha channel in normal Map to mask Phong highlight

	// ENVIRONMENT REFLECTION
	$envmap                     env_cubemap            // Enable Specular Reflection and let level choose cubemap
	$envmaptint                 "[.1 .1 .1]"     // Tint the Specular Reflection (RGB value)
	$normalmapalphaenvmapmask   1                      // Use alpha channel in Normal Map to mask Specular Reflection


}