Category talk:Shader parameters: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
Line 245: Line 245:
  [[$rimlightboost]] 2 // Boost for ambient cube component of rim lighting
  [[$rimlightboost]] 2 // Boost for ambient cube component of rim lighting
  [[$rimmask]] 1 // Use the alpha channel of the $phongexponenttexture as a rim mask.
  [[$rimmask]] 1 // Use the alpha channel of the $phongexponenttexture as a rim mask.
[[$glossiness]] 0.5 // Default 1.0 (attenuates reflections..making the irises seem darker)

Revision as of 07:22, 2 January 2009

List of Shader Parameters from HL2world.com

retrieved[1] April 2008 (last updated July 2006 by-nc-nd)

Compile Parameters from HL2world.com

Left 4 Dead params

VertexLitGeneric
$shinyblood
$shinybloodexponent
$allowdiffusemodulation
$ambientocclusion
$shaderSrgbRead360
$color2
$basemapluminancephongmask
$basemapalphaphongmask
$allowalphatocoverage (related to $distancealpha?)
$blendtintbybasealpha
$compress ("Wrinkle map")
$stretch ("Wrinkle map")
GPU>=2?$phong (SLI test before param is used?)
EyeRefract
$AmbientOcclTexture
$RaytraceSphere
$SphereTexkillCombo
$CorneaBumpStrength
$ParallaxStrength

TF2 params

	// Rim lighting parameters
	$rimlight 1			// To enable rim lighting (requires phong)
	$rimlightexponent 4		// Exponent for phong component of rim lighting	
	$rimlightboost 2		// Boost for ambient cube component of rim lighting
	$rimmask 1			// Use the alpha channel of the $phongexponenttexture as a rim mask.

	$glossiness 0.5			// Default 1.0	(attenuates reflections..making the irises seem darker)