Template:Matparam/doc: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
No edit summary
Tag: Manual revert
Line 11: Line 11:


== Examples and Parameters ==
== Examples and Parameters ==
{| class="standard-table" style="width:100%; max-width:35%"
{| class="standard-table" style="width:100%; max-width:60%"
! Parameter
! Parameter
! Description
! Description
Line 21: Line 21:
| <pre>{{matparam|$translucent}}</pre>
| <pre>{{matparam|$translucent}}</pre>
| align = "center" | {{matparam|$translucent}}
| align = "center" | {{matparam|$translucent}}
|-
| align = "center" | {{param|alt}}
| align = "center" | Alternative paramater name
| <pre>{{matparam|$allowalphatocoverage|alt=$allowAlphaToCoverage}}</pre>
| align = "center" | {{matparam|$allowalphatocoverage|alt=$allowAlphaToCoverage}}
|}
|}



Revision as of 13:33, 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