Template:Matparam/doc: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
No edit summary
Line 24: Line 24:
| align = "center" | <code>{{param|alt}}</code>
| align = "center" | <code>{{param|alt}}</code>
| Alternative paramater name.
| Alternative paramater name.
| <pre>{{Material Parameter|$allowalphatocoverage|alt=$allowAlphaToCoverage}}</pre>
| <pre>{{Material Parameter|$blendmodulatetexture|alt=$blendModulateTexture}}</pre>
| bgcolor="#262626" | {{Material Parameter|$blendmodulatetexture|alt=$blendModulateTexture}}
| bgcolor="#262626" | {{Material Parameter|$blendmodulatetexture|alt=$blendModulateTexture}}
|}
|}

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

See also