Jump to content

Shadow Generations Shaders - Emission dpE: Difference between revisions

From HedgeDocs
Justin113D (talk | contribs)
Updated layout
Justin113D (talk | contribs)
Updated vertex colors parameter
 
(3 intermediate revisions by the same user not shown)
Line 1: Line 1:
{{DISPLAYTITLE:Shadow Generations Shaders - Emission_dpE}}
{{Shader Documentation
{{SXSG Shader Behavior
| game = Shadow Generations
| model=2  
| shader name = Emission_dpE
}}
| sbo = model=2, no_compute_instancing, no_noise
[[Shadow Generations Shaders|Return to shaders list]]


A standard PBR shader with an emission layer and no special logic.
| overview =
A standard [[Hedgehog_Engine_2_-_Physically_Based_Rendering_(PBR)|PBR]] shader (including [[Hedgehog_Engine_2_-_Physically_Based_Rendering_(PBR)#Emission|emission]]) with no special behavior.


=== Related shaders ===
| related shaders =  
* [[Shadow Generations Shaders - Emission_d|Emission_d]]
Emission_d,
* [[Shadow Generations Shaders - Emission_dE|Emission_dE]]
Emission_dE,
* [[Shadow Generations Shaders - Emission_dnE|Emission_dnE]]
Emission_dnE,
* [[Shadow Generations Shaders - Emission_dpnE|Emission_dpnE]]
Emission_dpnE,
* [[Shadow Generations Shaders - Emission_dpnEa|Emission_dpnEa]]
Emission_dpnEa


== Textures ==
| vertex colors =
* Color is multiplied into the <code>diffuse</code> texture color
* Alpha is not used


{{Shader Texture Table Header}}
| textures =
diffuse,0,0,
[[Hedgehog Engine 2 - Textures#Albedo|Albedo]],
[[Hedgehog_Engine_2_-_Physically_Based_Rendering_(PBR)#Albedo|Albedo]] color__,
[[Opacity|Opacity]];


!<code>diffuse</code>
specular,0,0,
|0||0||[[Hedgehog Engine 2 - Textures#Albedo|Albedo]]
[[Hedgehog Engine 2 - Textures#PRM|PRM]],
|colspan="3"|[[Hedgehog_Engine_2_-_Physically_Based_Rendering_(PBR)#Albedo|Albedo]] color
[[Hedgehog Engine 2 - Physically Based Rendering (PBR)#Specular|Specular]] factor\; <br/>Gets multiplied by 0.25,
|Transparency
[[Hedgehog Engine 2 - Physically Based Rendering (PBR)#Smoothness|Smoothness]] factor,
[[Hedgehog Engine 2 - Physically Based Rendering (PBR)#Metallic|Metallic]] factor,
[[Hedgehog Engine 2 - Physically Based Rendering (PBR)#Ambient Occlusion|Ambient Occlusion]];


|-
emission,0,2,
[[Hedgehog Engine 2 - Textures#Emission|Emission]],
[[Hedgehog_Engine_2_-_Physically_Based_Rendering_(PBR)#Emission|Emission]] color__,;


!<code>specular</code>
| parameters =
|0||0||[[Hedgehog Engine 2 - Textures#PRM|PRM]]
| [[Hedgehog Engine 2 - Physically Based Rendering (PBR)#Specular|Specular]] factor;
Gets multiplied by 0.25
| [[Hedgehog Engine 2 - Physically Based Rendering (PBR)#Smoothness|Smoothness]] factor
| [[Hedgehog Engine 2 - Physically Based Rendering (PBR)#Metallic|Metallic]] factor
| [[Hedgehog Engine 2 - Physically Based Rendering (PBR)#Ambient Occlusion|Ambient Occlusion]]


|-
ambient,
(RGB) Multiplied into the <code>emissive</code> texture color__,;


!<code>emission</code>
Luminance,
|0||2||[[Hedgehog Engine 2 - Textures#Emission|Emission]]
[[Hedgehog_Engine_2_-_Physically_Based_Rendering_(PBR)#Luminance|Luminance]]\;<br/>Multiplied into the <code>emissive</code> texture color,,,;
|colspan="3"|[[Hedgehog_Engine_2_-_Physically_Based_Rendering_(PBR)#Emission|Emission]] color
|N/A


|}
| features =
is_use_tex_srt_anim,
enable_deferred_rendering,
enable_alpha_threshold,
is_use_gi_prt,
is_use_gi_sg,
is_use_gi


== Parameters ==
}}
 
{{Shader Parameter Table Header}}
 
!<code>ambient</code>
|colspan="3"|(RGB) Multiplied into the <code>emission</code> texture color
|N/A
 
|-
 
!<code>Luminance</code>
| Multiplied into the <code>emission</code> texture color
| N/A
| N/A
| N/A
 
|}
 
== Vertex Colors ==
 
* Color is multiplied into the <code>diffuse</code> texture color*
** *Exception: The model is using vertex animation textures
* Alpha: N/A
 
== Technical ==
 
Uses the [[Shadow_Generations_Shaders_-_common_vs|default vertex shader]].
 
{| class="mw-collapsible mw-collapsed wikitable" width="300px"
|-
!Shader Features
|-
|<code>is_use_tex_srt_anim</code>
|-
|<code>enable_deferred_rendering</code>
|-
|<code>enable_alpha_threshold</code>
|-
|<code>is_use_gi_prt</code>
|-
|<code>is_use_gi_sg</code>
|-
|<code>is_use_gi</code>
|}

Latest revision as of 17:42, 18 August 2025

Return to shaders list

Overview

Shader Behavior Overview
Shader model:

   [2] Standard (PBR)
Does not support:

A standard PBR shader (including emission) with no special behavior.

Related shaders

Behavior

Vertex Colors

  • Color is multiplied into the diffuse texture color
  • Alpha is not used

Material Inputs

Textures

Name

Index

UV Index

Kind

Red

Green

Blue

Alpha

diffuse 0 0 Albedo Albedo color Opacity
specular 0 0 PRM Specular factor;
Gets multiplied by 0.25
Smoothness factor Metallic factor Ambient Occlusion
emission 0 2 Emission Emission color N/A

Parameters

Name

X

Y

Z

W

ambient (RGB) Multiplied into the emissive texture color N/A
Luminance Luminance;
Multiplied into the emissive texture color
N/A N/A N/A

Technical

Shader Features
is_use_tex_srt_anim
enable_deferred_rendering
enable_alpha_threshold
is_use_gi_prt
is_use_gi_sg
is_use_gi
Cookies help us deliver our services. By using our services, you agree to our use of cookies.