Template:Matparam/doc: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
No edit summary
Line 5: Line 5:
<br />
<br />
{{shortcut|float=left
{{shortcut|float=left
| {{t|MatParam}}<br />{{t|MatVar}}<br />{{t|matparam}}
| {{t|MatParam}}<br />{{t|matparam}}
}}
}}



Revision as of 13:38, 23 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
{{matparam|$translucent}}
$translucent
{{{alt}}} Alternative paramater name
{{matparam|$allowalphatocoverage|alt=$allowAlphaToCoverage}}
$allowAlphaToCoverage

See also