Template:Shader/doc

From Valve Developer Community
< Template:Shader
Revision as of 05:51, 19 July 2023 by Soyka (talk | contribs) (Shader Name doc init)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search
Edit-copy.png
This is a documentation subpage for Template:Shader.
Don't forget to purge the contents of the base page upon creating or editing this subpage.

Shader name/param

Parameters and Examples

Parameter Description Examples Preview
{{{1}}} Shader / parameter name
{{Shader_Name|UnlitGeneric}}
{{{2}}} Value.
Works only if type is param
{{Shader_Name|type=param|$detail|texture}}
{{{type}}} At the moment it has one value - param. Param sets shader parameter icon and unlock 3rd field.
{{Shader_Name|key|value}}
{{Shader_Name|type=param|key|value}}
Shader-ball.png key
Shader-ball-settings.png keyvalue