Template:Matparam/doc: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
No edit summary
No edit summary
 
Line 12: Line 12:
| align = "center" | <code>{{param|1}}</code>
| align = "center" | <code>{{param|1}}</code>
| Parameter name. {{Important|The link uses lowercase letters.}}
| Parameter name. {{Important|The link uses lowercase letters.}}
| <pre>{{Material Parameter|$allowAlphaToCoverage}}</pre>
| <pre>{{matparam|$allowAlphaToCoverage}}</pre>
| bgcolor="#262626" | {{Material Parameter|$allowAlphaToCoverage}}
| bgcolor="#262626" | {{matparam|$allowAlphaToCoverage}}
|-
|-
| align = "center" | <code>{{param|alt}}</code>
| align = "center" | <code>{{param|alt}}</code>
| Alternative paramater name.
| Alternative paramater name.
| <pre>{{Material Parameter|$blendmodulatetexture|alt=$blendModulateTexture}}</pre>
| <pre>{{matparam|$blendmodulatetexture|alt=$blendModulateTexture}}</pre>
| bgcolor="#262626" | {{Material Parameter|$blendmodulatetexture|alt=$blendModulateTexture}}
| bgcolor="#262626" | {{matparam|$blendmodulatetexture|alt=$blendModulateTexture}}
|}
|}



Latest revision as of 10:16, 24 August 2025

Edit-copy.png
This is a documentation subpage for Template:Matparam.
Don't forget to purge the contents of the base page upon creating or editing this subpage.

Material shader parameter.

Examples and Parameters

Parameter Description Example Preview
{{{1}}} Parameter name.
Icon-Important.pngImportant:The link uses lowercase letters.
{{matparam|$allowAlphaToCoverage}}
$allowAlphaToCoverage
{{{alt}}} Alternative paramater name.
{{matparam|$blendmodulatetexture|alt=$blendModulateTexture}}
$blendModulateTexture

See also