Category talk:Shader parameters

From Valve Developer Community
Jump to: navigation, search

Why are these all here on the talk page tho?? --Craziestdan 09:34, 2 Jan 2009 (PST)

It wouldn't do to spam up the main page with all this until it can be described and sorted. --TomEdwards 14:45, 2 Jan 2009 (PST)
Gotcha ;) --Craziestdan 15:27, 2 Jan 2009 (PST)

I've created a stub for a full list of shader parameters that could obsolete this talk page list from needing to be here. --CodingAintFun 12:52, 2 Nov 2023 (PST)

We should remove all shaders from this list that have been finished already, so we can break the list down and move the finished pages into categories, it's no good leaving new finished pages left in the talk page.--Craziestdan 01:01, 24 January 2009 (UTC)

List of Shader Parameters from HL2world.com

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

Compile Parameters from HL2world.com

Should place all these together into 1 page, as they all have the same effect. %compile Textures


Left 4 Dead params

VertexLitGeneric
$shinyblood
$shinybloodexponent
$allowdiffusemodulation
$ambientocclusion is this only for L4D?
$shaderSrgbRead360
$color2
$basemapluminancephongmask
$basemapalphaphongmask
$allowalphatocoverage (related to $distancealpha?)
$blendtintbybasealpha
$compress ("Wrinkle map")
$stretch ("Wrinkle map")

GPU>=2?$phong -this is like the shader fallbacks- will only use phong if the PC in use has more then 1 GPU. It won't let me add a page for this, because of the syntax, but maybe we should make a single page for all material optimisations?? Thoughts? --Craziestdan 01:44, 24 January 2009 (UTC)
That conditional is actually based on the users graphics settings, not number of GPUs (at least in L4D2). I documented what I could find in Material_optimization. --Rectus (talk) 11:31, 4 November 2014 (UTC)

EyeRefract
$AmbientOcclTexture // Ambient occlusion in RGB, A unused
$RaytraceSphere // Default 1 - Enables raytracing in the pixel shader to make the eyeball look round (ps.2.0b and later)
$SphereTexkillCombo // Default 1 - Enables killing pixels that don't ray-intersect the sphere (ps.2.0b and later)
$CorneaTexture // Special texture that has 2D cornea normal in RG and other data in BA
$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)

Orphaned Shaders

just starting a list of shader parameters I found on Special:LonelyPages. not sure if there's any particular page that's supposed to link to them or if people just need to figure out where to link to them.

  1. $layertint1 CS:GO engine branch
  2. $maxfogdensityscalar Left 4 Dead 2?
  3. $multipass
  4. $no_draw