Template:Matparam/doc: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
Tag: Manual revert
Line 18: Line 18:
|-
|-
| align = "center" | <code>{{param|1}}</code>
| align = "center" | <code>{{param|1}}</code>
| Parameter name.
| Parameter name. {{Important|The link uses lowercase letters.}}
| <pre>{{Material Parameter|$translucent}}</pre>
| <pre>{{Material Parameter|$translucent}}</pre>
| bgcolor="#262626" | {{Material Parameter|$translucent}}
| bgcolor="#262626" | {{Material Parameter|$translucent}}

Revision as of 08:42, 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.
{{Material Parameter|$translucent}}
$translucent
{{{alt}}} Alternative paramater name.
{{Material Parameter|$allowalphatocoverage|alt=$allowAlphaToCoverage}}
$allowAlphaToCoverage

See also