Jump to content

Template:Shader Documentation: Difference between revisions

From HedgeDocs
Justin113D (talk | contribs)
Fixed newline after template
Justin113D (talk | contribs)
Added multi tangent
Line 12: Line 12:
== Behavior ==
== Behavior ==
{{{behavior|}}}
{{{behavior|}}}
 
{{#if:{{{multi tangent|}}}|
=== Multi-tangent ===
{{{multi tangent}}}
|}}
=== Vertex Colors ===
=== Vertex Colors ===
{{{vertex color|Shader does not use vertex colors}}}
{{{vertex color|Shader does not use vertex colors}}}
Line 93: Line 96:
             "label": "Behavior",
             "label": "Behavior",
             "description": "Behavior content",
             "description": "Behavior content",
            "type": "content",
            "required": false
        },
        "multi tangent": {
            "label": "Multi tangent",
            "description": "Multi tangent behavior",
             "type": "content",
             "type": "content",
             "required": false
             "required": false
Line 152: Line 161:


| behavior = Lorem ipsum.
| behavior = Lorem ipsum.
| multi tangent =
Lorem ipsum.


| vertex color =
| vertex color =

Revision as of 17:40, 18 August 2025


No description.

Template parameters[Edit template data]

ParameterDescriptionTypeStatus
Gamegame

Which game this shader belongs to

Stringrequired
Shader nameshader name

The name of the shader

Stringrequired
Shader behavior overviewsbo

Parameters for the shader behavior overview

Stringoptional
Overviewoverview

Overview content

Contentrequired
Related shadersrelated shaders

List of related shaders

Stringoptional
Behaviorbehavior

Behavior content

Contentoptional
Multi tangentmulti tangent

Multi tangent behavior

Contentoptional
Vertex colorvertex color

Vertex color behavior

Contentoptional
Texturestextures

Texture table contents; Fields seperated by commas, column spans specified by underscores and rows seperated by semicolons

Contentoptional
Parametersparameters

Parameter table contents; Fields seperated by commas, column spans specified by underscores and rows seperated by semicolons

Contentoptional
Technicaltechnical

Technical information

Contentoptional
Shader features (technical)features

List of technical features that the shader has been compiled with

Contentoptional

Example

Return to shaders list

Overview

Shader Behavior Overview

A standard PBR shader with no special behavior.

Related shaders

Behavior

Lorem ipsum.

Multi-tangent

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

diffuse 0 0 Albedo Albedo color Transparency
test 1 2 N/A N/A N/A N/A N/A

Parameters

Name

X

Y

Z

W

diffuse Albedo color N/A
PBRFactor Specular factor Smoothness factor Metallic factor N/A

Technical

lorem ipsum.

Shader Features
is_compute_instancing
is_use_tex_srt_anim
enable_deferred_rendering
enable_alpha_threshold
is_use_gi_prt
is_use_gi_sg
is_use_gi

Other

Outside template

Cookies help us deliver our services. By using our services, you agree to our use of cookies.