Template:Shader Documentation: Difference between revisions
Appearance
Justin113D (talk | contribs) Created page with "<includeonly>{{DISPLAYTITLE:{{{game}}} Shaders - {{{shader name}}}}} [[{{{game}}} Shaders|Return to shaders list]] == Overview == {{SXSG Shader Behavior | model = 2 }} {{{overview}}} === Related shaders === {{{related shaders|}}} == Behavior == {{{behavior|}}} === Vertex Colors === {{{vertex color|This shader does not use vertex colors.}}} == Material Inputs == === Textures === {| class="wikitable" width="100%" |+ !width=1%|{{#tip-text: Name|Name of the material t..." |
Justin113D (talk | contribs) Updated example data |
||
Line 14: | Line 14: | ||
=== Vertex Colors === | === Vertex Colors === | ||
{{{vertex color| | {{{vertex color|Shader does not use vertex colors}}} | ||
== Material Inputs == | == Material Inputs == | ||
Line 130: | Line 130: | ||
| 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. | |||
| vertex color = | |||
* Color is multiplied into the <code>diffuse</code> texture color | |||
* Alpha is multiplied into the <code>diffuse</code> texture alpha | |||
| textures = | |||
diffuse,0,0,[[Hedgehog Engine 2 - Textures#Albedo|Albedo]],[[Hedgehog_Engine_2_-_Physically_Based_Rendering_(PBR)#Albedo|Albedo]] color__,Transparency; | |||
test,1,2,,,,,; | |||
| parameters = | |||
diffuse,[[Hedgehog_Engine_2_-_Physically_Based_Rendering_(PBR)#Albedo|Albedo]] color__,; | |||
PBRFactor | |||
,[[Hedgehog Engine 2 - Physically Based Rendering (PBR)#Specular|Specular]] factor | |||
,[[Hedgehog Engine 2 - Physically Based Rendering (PBR)#Smoothness|Smoothness]] factor | |||
,[[Hedgehog Engine 2 - Physically Based Rendering (PBR)#Metallic|Metallic]] factor | |||
,; | |||
| technical = lorem ipsum. | |||
| 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 | |||
}} | |||
</noinclude> | </noinclude> |
Latest revision as of 15:07, 11 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
Common_dn,Common_dp,Common_dpn,Common_dpna,Common_dither_dpn
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 |
---|