Template:Shader Documentation: Difference between revisions
Appearance
Justin113D (talk | contribs) Updated example data |
Justin113D (talk | contribs) Updated related shaders |
||
Line 6: | Line 6: | ||
}} | }} | ||
{{{overview}}} | {{{overview}}} | ||
{{#if:{{{related shaders|}}}| | |||
=== Related shaders === | === Related shaders === | ||
{{{related shaders | {{#invoke:ShaderDoc|shader_link_list | ||
|game={{{game}}} | |||
|shaders={{{related shaders}}} | |||
}}|}} | |||
== Behavior == | == Behavior == | ||
{{{behavior|}}} | {{{behavior|}}} | ||
Line 128: | Line 130: | ||
{{Shader Documentation | {{Shader Documentation | ||
| game = Shadow Generations | | game = Shadow Generations | ||
| shader name = Common_dpn | | shader name = Common_dpn | ||
| overview = A standard PBR shader with no special behavior. | | overview = A standard PBR shader with no special behavior. | ||
| related shaders = Common_dn,Common_dp,Common_dpn,Common_dpna,Common_dither_dpn | |||
| related shaders = | |||
Common_dn, | |||
Common_dp, | |||
Common_dpn, | |||
Common_dpna, | |||
Common_dither_dpn | |||
| behavior = Lorem ipsum. | | behavior = Lorem ipsum. | ||
| vertex color = | | vertex color = | ||
* Color is multiplied into the <code>diffuse</code> texture color | * Color is multiplied into the <code>diffuse</code> texture color | ||
Line 149: | Line 161: | ||
| technical = lorem ipsum. | | technical = lorem ipsum. | ||
| features = | | features = | ||
is_compute_instancing, | is_compute_instancing, |
Revision as of 15:31, 17 August 2025
No description.
Parameter | Description | Type | Status | |
---|---|---|---|---|
Game | game | Which game this shader belongs to | String | required |
Shader name | shader name | The name of the shader | String | required |
Overview | overview | Overview content | Content | required |
Related shaders | related shaders | List of related shaders | String | optional |
Behavior | behavior | Behavior content | Content | optional |
Vertex color | vertex color | Vertex color behavior | Content | optional |
Textures | textures | Texture table contents; Fields seperated by commas, column spans specified by underscores and rows seperated by semicolons | Content | optional |
Parameters | parameters | Parameter table contents; Fields seperated by commas, column spans specified by underscores and rows seperated by semicolons | Content | optional |
Technical | technical | Technical information | Content | optional |
Shader features (technical) | features | List of technical features that the shader has been compiled with | Content | optional |
WIP
Example
Overview
Shader Behavior Overview
Shader model:
A standard PBR shader with no special behavior.
Related shaders
Behavior
Lorem ipsum.
Vertex Colors
- Color is multiplied into the
diffuse
texture color - Alpha is multiplied into the
diffuse
texture alpha
Material Inputs
Textures
Name | Index | UV Index | Kind | Red | Green | Blue | Alpha |
---|
Parameters
Name | X | Y | Z | W |
---|
Technical
Shader Features |
---|