Template:MatParam
This template is used to generate material shader parameter definitions on material shader pages.
Usage
{{MatParam|<name>|<variable type>|<description>}}
Examples and Parameters
Parameter | Description | Example | Preview |
---|---|---|---|
{{{text}}} {{{3}}} |
Description of the parameter.
If specified, then you will not encounter the problem of a broken description if there are equal signs in it. You can also use |
Wow, I've been fixed! Look at this 2 + 2 = 5
| |
{{{deprecated}}} | This material parameter is deprecated and should no longer be used. | Really, don't use me anymore!
| |
{{{since}}} | This material parameter is available since this game. Uses the template {{Since}} .
|
I'm available in Portal 2, too!
| |
{{{also}}} | This material parameter is also available in this game. Uses the template {{Also}} .
|
I'm also available in Garry's Mod!
| |
{{{only}}} | This material parameter is available only in this/these game(s). Uses the template {{Only}} .
|
I'm only available in Alien Swarm!
| |
{{{removed}}} | This material parameter was removed in this game. Uses the template {{Removed}} .
|
I was removed in Left 4 Dead!
| |
{{{dx9}}} | This material parameter requires DX9 or higher to function. | I require DX9 to work!
| |
{{{dx8}}} | This material parameter is for DX8, and should not be used for DX9. | I'm a material parameter for DX8!
| |
{{{to}}} | Use this to define a set of material parameters with very similar names. | There are many of us...
| |
{{{and}}} | Use this to define two material parameters with very similar names. | ||
{{{shaders}}} | Lists the shaders for a specific material parameter. Uses the template {{Shaders}} .
|
Shader(s): VertexLitGeneric, UnlitGeneric
I only work with specific shaders!
| |
{{{value}}} | Default value of the parameter. |
Default Value: 1
Why do I have such a small value? :(
|
See also
The above documentation is transcluded from Template:MatParam/doc. (Edit | Page history)
Editors can experiment in this template's sandbox (edit) and testcases (create) pages.
Editors can experiment in this template's sandbox (edit) and testcases (create) pages.