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)
 
(2 intermediate revisions by 2 users not shown)
Line 4: Line 4:
{{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}}
{{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}}
{{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 ==
* [[$basetexture]]
* [[$basetexture]]
:* [[$2basetexture]]
:* [[$basetexture2]]
:* [[$basetexture2]]  
:* [[$basetextureoffset]]
:* [[$basetextureoffset]]
:* [[$basetexturescale]]
:* [[$basetexturescale]]
Line 40: Line 40:
:* [[$selfillumtextureframe]]
:* [[$selfillumtextureframe]]
:* [[$selfillumtint]]
:* [[$selfillumtint]]
== Uncatagorised ==
:* [[$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 48: Line 125:
* [[$a_threshold]]
* [[$a_threshold]]
* [[$abstmp]]
* [[$abstmp]]
* [[$additive]]
* [[$alpha]]
* [[$alpha_bias]]
* [[$alphatest]]
* [[$animatedtextureframenumvar]]
* [[$animatedtextureframenumvar]]
* [[$animatedtextureframerate]]
* [[$animatedtextureframerate]]
Line 67: Line 140:
* [[$comparez]]
* [[$comparez]]
* [[$crackmaterial]]
* [[$crackmaterial]]
* [[$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 89: Line 150:
* [[$fbtexture]]
* [[$fbtexture]]
* [[$fixedfunction]]
* [[$fixedfunction]]
* [[$flags]]
* [[$flags_defined]]
* [[$flags_defined2]]
* [[$flags2]]
* [[$fogcolor]]
* [[$fogcolor]]
* [[$fogenable]]
* [[$fogenable]]
Line 100: 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 139: 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 155: 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]]
* [[$shaderprop]]
* [[$shaderprop]]
Line 172: Line 202:
* [[$spriterendermode]]
* [[$spriterendermode]]
* [[$subdivsize]]
* [[$subdivsize]]
* [[$temp]]
* [[$temp1]]
* [[$temp2]]
* [[$tempvec]]
* [[$tempvec]]
* [[$tex2offset]]
* [[$tex2offset]]
Line 180: 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