Category talk:Shader parameters: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
(TF2 params)
Line 237: Line 237:
:[[$CorneaBumpStrength]]
:[[$CorneaBumpStrength]]
:[[$ParallaxStrength]]
:[[$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.

Revision as of 07:20, 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
$stretch
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.