Template:Shader Name

Từ Valve Developer Community
Bước tới điều hướng Bước tới tìm kiếm
Todo: Make automatic icon selection

Based on Template:Path ( 🖿Path )

English (en)Deutsch (de)Esperanto (eo)Español (es)Français (fr)Suomi (fi)Hrvatski (hr)Magyar (hu)Italiano (it)日本語 (ja)한국어 (ko)Nederlands (nl)Polski (pl)Português (pt)Português do Brasil (pt-br)Русский (ru)Slovenčina (sk)Svenska (sv)Türkçe (tr)Українська (uk)Tiếng Việt (vi)中文 (zh)中文(臺灣) (zh-tw)
Icon-translate.png Available doc translations
Info.png
The Template:Shader Name/doc/vi documentation page does not exist.
English documentation will be displayed instead, which you can translate using Google Translate (or similar software). If there is nothing after this message, most likely the documentation does not exist even in English.

Shader name/param

Parameters and Examples

Parameter Miêu tả Các ví dụ Xem trước
{{{1}}} Shader / parameter name
{{Shader_Name|UnlitGeneric}}
{{{2}}} Value.
Works only if type is param
{{Shader_Name|type=param|$detail|texture}}
{{Shader_Name|type=param|$detail|notexisting}}
Shader-ball-settings.png $detailnotexisting
{{{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
{{{alt}}} This displays alternate text for the {{{1}}} parameter. Useful when wanting to make the link to the, for example, Water (shader) shader look more formal.
{{Shader Name|Water (shader)|alt=Water}}