Jump to content

Template:SXSG Shader Behavior: Difference between revisions

From HedgeDocs
Justin113D (talk | contribs)
Added multi tangent link
Justin113D (talk | contribs)
Added VAT not-supports
 
(5 intermediate revisions by the same user not shown)
Line 1: Line 1:
<includeonly><div class="hedgedocs-notice hedgedocs-notice-info">
<includeonly><div class="hedgedocs-notice-info hedgedocs-infobox hedgedocs-notice" style="padding:0px; margin-left:24px">
<div class="hedgedocs-notice-header">Standard Shader Behavior - Overview</div>
<div class="hedgedocs-infobox-title hedgedocs-notice-header">Shader Behavior Overview</div>
<div class="hedgedocs-notice-content"><b>Shader model:</b> [[Shadow_Generations_Standard_Shader_Behaviors#Shader_Models|[{{{model}}}] {{#switch: {{{model}}}
<div class="hedgedocs-notice-content"><b>Shader model:</b>  
&nbsp;&nbsp;&nbsp;[[Shadow_Generations_Standard_Shader_Behaviors#Shader_Models|[{{{model}}}] {{#switch: {{{model}}}
| 0 = Clear
| 0 = Clear
| 1 = Unlit
| 1 = Unlit
Line 11: Line 12:
| 7 = Unknown
| 7 = Unknown
}}]]
}}]]
{{#ifexpr: {{{multi_tangent|0}}}|
{{#ifexpr: {{{noise_dithering|0}}}|
 
<br/><b>Uses:</b>
<ul>
  {{#ifexpr: {{{noise_dithering|0}}}|<li>[[Shadow_Generations_Standard_Shader_Behaviors#Punch-through|Noise dithering]]</li>}}
</ul>
 
}}{{#ifexpr: {{{multi_tangent|0}}}|


<br/><b>Supports:</b>
<br/><b>Supports:</b>
<ul>
<ul>
   {{#ifexpr: {{{multi_tangent|0}}}|<li>[[Mesh_Layers#|Multiple tangents]]</li>}}
   {{#ifexpr: {{{multi_tangent|0}}}|<li>[[Shadow_Generations_Standard_Shader_Behaviors#Multiple_Tangents|Multiple tangents]]</li>}}
</ul>
</ul>


}}{{#ifexpr: {{{no_opaque_layer|0}}} or {{{no_punch_through_layer|0}}} or {{{no_transparent_layer|0}}} or {{{no_noise|0}}} or {{{no_gi|0}}} or {{{no_billboard|0}}} or {{{no_weights|0}}} or {{{no_8_weights|0}}} or {{{no_instancing|0}}} or {{{no_compute_instancing|0}}} |
}}{{#ifexpr: {{{no_opaque_layer|0}}} or {{{no_punch_through_layer|0}}} or {{{no_transparent_layer|0}}} or {{{no_noise|0}}} or {{{no_gi|0}}} or {{{no_billboard|0}}} or {{{no_weights|0}}} or {{{no_8_weights|0}}} or {{{no_vat|0}}} or {{{no_vat_mode_2|0}}} or {{{no_instancing|0}}} or {{{no_compute_instancing|0}}} |


<br/><b>Does not support:</b>
<br/><b>Does not support:</b>
Line 30: Line 38:
{{#ifexpr: {{{no_weights|0}}}|<li>[[Shadow_Generations_Standard_Shader_Behaviors#Bone_Weights|Bone weights]]</li>}}
{{#ifexpr: {{{no_weights|0}}}|<li>[[Shadow_Generations_Standard_Shader_Behaviors#Bone_Weights|Bone weights]]</li>}}
{{#ifexpr: {{{no_8_weights|0}}}|<li>[[Shadow_Generations_Standard_Shader_Behaviors#Bone_Weights|Bone 8-weights]]</li>}}
{{#ifexpr: {{{no_8_weights|0}}}|<li>[[Shadow_Generations_Standard_Shader_Behaviors#Bone_Weights|Bone 8-weights]]</li>}}
{{#ifexpr: {{{no_vat|0}}}|<li>[[Shadow_Generations_Standard_Shader_Behaviors#Vertex_Animation_Textures|Vertex Animation Textures]]</li>}}
{{#ifexpr: {{{no_vat_mode_2|0}}}|<li>[[Shadow_Generations_Standard_Shader_Behaviors#Vertex_Color_VAT_Direction|VAT vertex color directions]]</li>}}
{{#ifexpr: {{{no_instancing|0}}}|<li>[[Shadow_Generations_Standard_Shader_Behaviors#Instancing|Instancing]]</li>}}
{{#ifexpr: {{{no_instancing|0}}}|<li>[[Shadow_Generations_Standard_Shader_Behaviors#Instancing|Instancing]]</li>}}
{{#ifexpr: {{{no_compute_instancing|0}}}|<li>[[Shadow_Generations_Standard_Shader_Behaviors#Compute_instancing|Compute instancing]]</li>}}
{{#ifexpr: {{{no_compute_instancing|0}}}|<li>[[Shadow_Generations_Standard_Shader_Behaviors#Compute_instancing|Compute instancing]]</li>}}
Line 54: Line 64:
"label": "No punch-through mesh layer",
"label": "No punch-through mesh layer",
"description": "Shader does not support punch-through mesh layers",
"description": "Shader does not support punch-through mesh layers",
"type": "boolean",
"required": false
},
        "noise_dithering": {
"label": "Transparency noise dithering",
"description": "Shader uses transparency dithering",
"type": "boolean",
"type": "boolean",
"required": false
"required": false
Line 96: Line 112:
"label": "Multi tangent",
"label": "Multi tangent",
"description": "Shader supports using a second set of tangents",
"description": "Shader supports using a second set of tangents",
"type": "boolean",
"required": false
},
        "no_vat": {
"label": "No VAT",
"description": "Shader does not support Vertex animation textures",
"type": "boolean",
"required": false
},
        "no_vat_mode_2": {
"label": "No VAT mode 2",
"description": "Shader does not support the second VAT mode",
"type": "boolean",
"type": "boolean",
"required": false
"required": false
Line 132: Line 160:
| no_opaque_layer = 1
| no_opaque_layer = 1
| no_punch_through_layer = 1
| no_punch_through_layer = 1
| noise_dithering=1
| no_transparent_layer = 1
| no_transparent_layer = 1
| no_noise = 1
| no_noise = 1
Line 138: Line 167:
| no_weights = 1
| no_weights = 1
| no_8_weights = 1
| no_8_weights = 1
| no_vat = 1
| no_vat_mode_2 = 1
| no_instancing = 1
| no_instancing = 1
| no_compute_instancing = 1
| no_compute_instancing = 1

Latest revision as of 12:42, 11 August 2025


No description.

Template parameters[Edit template data]

ParameterDescriptionTypeStatus
Modelmodel

Which shader model to use (0-7)

Numberrequired
No opaque mesh layerno_opaque_layer

Shader does not support opaque mesh layers

Booleanoptional
No punch-through mesh layerno_punch_through_layer

Shader does not support punch-through mesh layers

Booleanoptional
Transparency noise ditheringnoise_dithering

Shader uses transparency dithering

Booleanoptional
No transparent mesh layerno_transparent_layer

Shader does not support transparent mesh layers

Booleanoptional
No noiseno_noise

Shader does not support the noise user model

Booleanoptional
No global illuminationno_gi

Shader does not support baked global illumination

Booleanoptional
No billboard modeno_billboard

Shader does not support billboard mode

Booleanoptional
No bone weightsno_weights

Shader does not support bone weights

Booleanoptional
No bone 8-weightsno_8_weights

Shader does not support more than 4 bone weights

Booleanoptional
Multi tangentmulti_tangent

Shader supports using a second set of tangents

Booleanoptional
No VATno_vat

Shader does not support Vertex animation textures

Booleanoptional
No VAT mode 2no_vat_mode_2

Shader does not support the second VAT mode

Booleanoptional
No instancingno_instancing

Shader does not support instancing

Booleanoptional
No compute instancingno_compute_instancing

Shader does not compute instancing

Booleanoptional

Examples

Shader Behavior Overview
Shader model:

   [1] Unlit


Shader Behavior Overview
Shader model:

   [2] Standard (PBR)
Supports:



Shader Behavior Overview
Shader model:

   [4] Anisotropic Reflections (PBR)
Does not support:


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