Jump to content

Shadow Generations Shaders - Emission d: Difference between revisions

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


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_dE|Emission_dE]]
Emission_dE,
* [[Shadow Generations Shaders - Emission_dnE|Emission_dnE]]
Emission_dnE,
* [[Shadow Generations Shaders - Emission_dpE|Emission_dpE]]
Emission_dpE,
* [[Shadow Generations Shaders - Emission_dpnE|Emission_dpnE]]
Emission_dpnE,
* [[Shadow Generations Shaders - Emission_dpnEa|Emission_dpnEa]]
Emission_dpnEa


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


* Supports all [[Mesh Layers|mesh layers]]
| textures =
* Uses [[Shadow_Generations_Shader_Models|Shader model 2 (Standard)]]
diffuse,0,0,
[[Hedgehog Engine 2 - Textures#Albedo|Albedo]],
[[Hedgehog_Engine_2_-_Physically_Based_Rendering_(PBR)#Albedo|Albedo]] color__,
[[Opacity|Opacity]];


== Textures ==
| parameters =


{{Shader Texture Table Header}}
emissive,
(RGB) [[Hedgehog_Engine_2_-_Physically_Based_Rendering_(PBR)#Emission|Emission]] color__,;


!<code>diffuse</code>
ambient,
|0||0||[[Hedgehog Engine 2 - Textures#Albedo|Albedo]]
(RGB) Multiplied into the <code>emissive</code> parameter color__,;
|colspan="3"|[[Hedgehog_Engine_2_-_Physically_Based_Rendering_(PBR)#Albedo|Albedo]] color
|Transparency


|}
Luminance,
[[Hedgehog_Engine_2_-_Physically_Based_Rendering_(PBR)#Luminance|Luminance]]\;<br/>Multiplied into the <code>emissive</code> parameter color,,,;


== Parameters ==
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,
;


{{Shader Parameter Table Header}}
| features =
is_use_tex_srt_anim,
enable_deferred_rendering,
enable_alpha_threshold,
is_use_gi_prt,
is_use_gi_sg,
is_use_gi


!<code>emissive</code>
}}
|colspan="3"|(RGB) [[Hedgehog_Engine_2_-_Physically_Based_Rendering_(PBR)#Emission|Emission]] color
|N/A
 
|-
 
!<code>ambient</code>
|colspan="3"|(RGB) Multiplied into the <code>emissive</code> parameter color
|N/A
 
|-
 
!<code>Luminance</code>
| Multiplied into the <code>emissive</code> parameter color
| N/A
| N/A
| N/A
 
|-
 
!<code>PBRFactor</code>
| [[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
| 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

Parameters

Name

X

Y

Z

W

emissive (RGB) Emission color N/A
ambient (RGB) Multiplied into the emissive parameter color N/A
Luminance Luminance;
Multiplied into the emissive parameter color
N/A N/A N/A
PBRFactor Specular factor Smoothness factor Metallic factor 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.