List of shader parameters: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
No edit summary
m (Nescius moved page List Of Shader Parameters to List of shader parameters without leaving a redirect)
 
(5 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{{Stub}}
{{Stub}}
This page serves the purpose of being an exhaustive list of all shader parameters for material creators
This page serves the purpose of being an exhaustive list of all shader parameters for material creators
{{Note|This page is nowhere near complete and many parameters are yet to be added}}
{{Note|Pararameter groups are listed based on named relevance rather than all the parameters that can affect it since one parameter could influence a whole range of other parameters}}
{{Warning|Many of these parameters either, do not work, have weird functions, or used to work because of the purposes of the completeness of this list}}
{{Todo|Add parameter descriptions}}


List of Parameters
== List of Parameters ==
* [[$2basetexture]]
* [[$basetexture]]
:* [[$basetexture2]]
:* [[$basetextureoffset]]
:* [[$basetexturescale]]
:* [[$basetexturetransform]]
:* [[$basetexturetransform2]]
 
* [[$decal]]
:* [[$decalfadeduration]]
:* [[$decalfadetime]]
:* [[$decalscale]]
:* [[$decalsecondpass]]
 
* [[$detail]]
:* [[$detail2]]
:* [[$detailframe]]
:* [[$detailscale]]
:* [[$detailscale2]]
 
* [[$surfaceprop]]
:* [[$surfaceprop2]]
 
* [[$bumpmap]]
:* [[$bumpbasetexture2withbumpmap]]
:* [[$bumpframe]]
:* [[$bumpoffset]]
:* [[$bumpscale]]
:* [[$bumptransform]]
 
* [[$selfillum]]
:* [[$selfillumtexture]]
:* [[$selfillumtextureframe]]
:* [[$selfillumtint]]
:* [[$hasselfillum]]
 
* [[$envmap]]
:* [[$envmapcontrast]]
:* [[$envmapframe]]
:* [[$envmapmask]]
:* [[$envmapmaskframe]]
:* [[$envmapmaskscale]]
:* [[$envmapmasktransform]]
:* [[$envmapsaturation]]
:* [[$envmaptint]]
:* [[$envcontrast]]
 
* [[$flags]]
:* [[$flags_defined]]
:* [[$flags_defined2]]
:* [[$flags2]]
 
* [[$glint]]
:* [[$glintu]]
:* [[$glintv]]
 
 
* [[$translucent]]
:* [[$translucent_material]]
:* [[$translucentgoo]]
 
* [[$temp]]
:* [[$temp1]]
:* [[$temp2]]
 
* [[$dudvmap]]
:* [[$dudvframe]]
 
* [[$frame]]
:* [[$frame2]]
 
* [[$texture2]]
:* [[$texture2scale]]
:* [[$texture2transform]]
 
* [[$multiply]]
:* [[$multiplyby_max_hdr_overbright]]
:* [[$multiplybyalpha]]
:* [[$multiplybycolor]]
 
* [[$normal]]
:* [[$normalmap]]
:* [[$normalmapenvmask]]
 
* [[$reflectamount]]
:* [[$reflectentities]]
:* [[$reflecttexture]]
:* [[$reflecttint]]
 
* [[$refractamount]]
:* [[$refractionamount]]
:* [[$refracttexture]]
:* [[$refracttint]]
:* [[$refracttinttexture]]
:* [[$refracttinttextureframe]]
 
* [[$iris]]
:* [[$irisframe]]
:* [[$irisu]]
:* [[$irisv]]
 
* Transparency
:*[[$distancealpha]]
:* [[$additive]]
:* [[$alpha]]
:** [[$alpha_bias]]
:* [[$alphatest]]
:** [[$alphatestreference]]
:* [[$vertexalpha]]
:* [[$translucent]]
 
== Uncategorised ==
* [[$a_b_halfwidth]]
* [[$a_b_halfwidth]]
* [[$a_b_noise]]
* [[$a_b_noise]]
Line 11: Line 125:
* [[$a_threshold]]
* [[$a_threshold]]
* [[$abstmp]]
* [[$abstmp]]
* [[$additive]]
* [[$alpha]]
* [[$alpha_bias]]
* [[$alphatest]]
* [[$animatedtextureframenumvar]]
* [[$animatedtextureframenumvar]]
* [[$animatedtextureframerate]]
* [[$animatedtextureframerate]]
* [[$animatedtexturevar]]
* [[$animatedtexturevar]]
* [[$basetexture]]
* [[$basetexture2]]
* [[$basetextureoffset]]
* [[$basetexturescale]]
* [[$basetexturetransform]]
* [[$basetexturetransform2]]
* [[$bluramount]]
* [[$bluramount]]
* [[$blurtexture]]
* [[$blurtexture]]
* [[$bottommaterial]]
* [[$bottommaterial]]
* [[$brightness]]
* [[$brightness]]
* [[$bumpbasetexture2withbumpmap]]
* [[$bumpframe]]
* [[$bumpmap]]
* [[$bumpoffset]]
* [[$bumpscale]]
* [[$bumptransform]]
* [[$cheapwaterenddistance]]
* [[$cheapwaterenddistance]]
* [[$cheapwaterstartdistance]]
* [[$cheapwaterstartdistance]]
Line 42: Line 140:
* [[$comparez]]
* [[$comparez]]
* [[$crackmaterial]]
* [[$crackmaterial]]
* [[$decalfadeduration]]
* [[$decalfadetime]]
* [[$decalscale]]
* [[$decalsecondpass]]
* [[$detail]]
* [[$detail2]]
* [[$detailframe]]
* [[$detailscale]]
* [[$detailscale2]]
* [[$dudvframe]]
* [[$dudvmap]] //a type of texture map used on a refration shader, use nvidia plugin for pshop to create
* [[$dummyvar]]
* [[$dummyvar]]
* [[$env_cubemap]] //sets certain properties to use ingame cubemaps eg. $envmap env_cubemap]]
* [[$env_cubemap]] //sets certain properties to use ingame cubemaps eg. $envmap env_cubemap]]
* [[$envcontrast]]
* [[$envmap]]
* [[$envmapcontrast]]
* [[$envmapframe]]
* [[$envmapmask]]
* [[$envmapmaskframe]]
* [[$envmapmaskscale]]
* [[$envmapmasktransform]]
* [[$envmapsaturation]]
* [[$envmaptint]]
* [[$eyeorigin]]
* [[$eyeorigin]]
* [[$eyeup]]
* [[$eyeup]]
Line 73: Line 150:
* [[$fbtexture]]
* [[$fbtexture]]
* [[$fixedfunction]]
* [[$fixedfunction]]
* [[$flags]]
* [[$flags_defined]]
* [[$flags_defined2]]
* [[$flags2]]
* [[$fogcolor]]
* [[$fogcolor]]
* [[$fogenable]]
* [[$fogenable]]
Line 84: Line 157:
* [[$forceexpensive]]
* [[$forceexpensive]]
* [[$forward]]
* [[$forward]]
* [[$frame]]
* [[$frame2]]
* [[$frametexture]]
* [[$frametexture]]
* [[$fresnelreflection]]
* [[$fresnelreflection]]
* [[$glassenvmap]]
* [[$glassenvmap]]
* [[$glassenvmaptint]]
* [[$glassenvmaptint]]
* [[$glint]]
* [[$glintu]]
* [[$glintv]]
* [[$gradienttexture]]
* [[$gradienttexture]]
* [[$halfwidth]]
* [[$halfwidth]]
* [[$hasselfillum]]
* [[$ignorevertexcolors]]
* [[$ignorevertexcolors]]
* [[$illumfactor ]]
* [[$illumfactor ]]
* [[$iris]]
* [[$irisframe]]
* [[$irisu]]
* [[$irisv]]
* [[$j_b_halfwidth]]
* [[$j_b_halfwidth]]
* [[$j_b_noise]]
* [[$j_b_noise]]
Line 123: Line 186:
* [[$mod2x]]
* [[$mod2x]]
* [[$modelmaterial]]
* [[$modelmaterial]]
* [[$multiply]]
* [[$multiplyby_max_hdr_overbright]]
* [[$multiplybyalpha]]
* [[$multiplybycolor]]
* [[multipass]] 1 //in glasswindowbreak070a : guess that it allows decals or multiple textures to overlay on it.
* [[multipass]] 1 //in glasswindowbreak070a : guess that it allows decals or multiple textures to overlay on it.
* [[$nocompress]]
* [[$nocompress]]
* [[$nocull]]
* [[$nocull]]
* [[$noisechoice]]
* [[$noisechoice]]
* [[$normal]]
* [[$normalmap]]
* [[$normalmapenvmask]]
* [[$noscale]]
* [[$noscale]]
* [[$one]]
* [[$one]]
Line 139: Line 195:
* [[$polyoffset]]
* [[$polyoffset]]
* [[$pulserate]]
* [[$pulserate]]
* [[$reflectamount]]
* [[$reflectentities]]
* [[$reflecttexture]]
* [[$reflecttint]]
* [[$refractamount]] //change how much the shader refracts. Decimal value
* [[$refractionamount]]
* [[$refracttexture]]
* [[$refracttint]] //change the hue of the refration
* [[$refracttinttexture]] //use a texture map to change the hue of the refraction
* [[$refracttinttextureframe]]
* [[$scale]]
* [[$scale]]
* [[$selfillumtexture]]
* [[$selfillumtextureframe]]
* [[$selfillumtint]]
* [[$shaderprop]]
* [[$shaderprop]]
* [[$spriteframe]]
* [[$spriteframe]]
Line 159: Line 202:
* [[$spriterendermode]]
* [[$spriterendermode]]
* [[$subdivsize]]
* [[$subdivsize]]
* [[$surfaceprop]]
* [[$surfaceprop2]]
* [[$temp]]
* [[$temp1]]
* [[$temp2]]
* [[$tempvec]]
* [[$tempvec]]
* [[$tex2offset]]
* [[$tex2offset]]
Line 169: Line 207:
* [[$texoffset]]
* [[$texoffset]]
* [[$texscale]]
* [[$texscale]]
* [[$texture2]]
* [[$texture2scale]]
* [[$texture2transform]]
* [[$time]]
* [[$time]]
* [[$tooltexture]]
* [[$tooltexture]]
* [[$translucent]]
* [[$translucent_material]] //best guess is, use a grayscale image instead of $basetexture for transp.
* [[$translucentgoo]]
* [[$unlitfactor]]
* [[$unlitfactor]]
* [[$usebumpmap]]
* [[$usebumpmap]]

Latest revision as of 22:15, 21 March 2025

Stub

This article or section is a stub. You can help by expanding it.

This page serves the purpose of being an exhaustive list of all shader parameters for material creators

Note.pngNote:This page is nowhere near complete and many parameters are yet to be added
Note.pngNote:Pararameter groups are listed based on named relevance rather than all the parameters that can affect it since one parameter could influence a whole range of other parameters
Warning.pngWarning:Many of these parameters either, do not work, have weird functions, or used to work because of the purposes of the completeness of this list
Todo: Add parameter descriptions

List of Parameters


  • Transparency

Uncategorised