Shadow Generations Shaders - Common d: Difference between revisions
Appearance
	
	
| Justin113D (talk | contribs)  Added page | Justin113D (talk | contribs) m Updated formatting | ||
| Line 31: | Line 31: | ||
| !Info | !Info | ||
| |- | |- | ||
| |< | |<code>diffuse</code> | ||
| |0 | |0 | ||
| |A standard [[Hedgehog Engine 2 - Textures#Albedo|albedo]] texture. | |A standard [[Hedgehog Engine 2 - Textures#Albedo|albedo]] texture. | ||
| Line 50: | Line 50: | ||
| ! W | ! W | ||
| |- | |- | ||
| |< | |<code>PBRFactor</code> | ||
| | [[Hedgehog Engine 2 - Physically Based Rendering (PBR)#Specular|Specular]] factor | | [[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)#Smoothness|Smoothness]] factor | ||
| Line 65: | Line 65: | ||
| !Shader Features | !Shader Features | ||
| |- | |- | ||
| |is_compute_instancing | |<code>is_compute_instancing</code> | ||
| |- | |- | ||
| |is_use_tex_srt_anim | |<code>is_use_tex_srt_anim</code> | ||
| |- | |- | ||
| |enable_deferred_rendering | |<code>enable_deferred_rendering</code> | ||
| |- | |- | ||
| |enable_alpha_threshold | |<code>enable_alpha_threshold</code> | ||
| |- | |- | ||
| |is_use_gi_prt | |<code>is_use_gi_prt</code> | ||
| |- | |- | ||
| |is_use_gi_sg | |<code>is_use_gi_sg</code> | ||
| |- | |- | ||
| |is_use_gi | |<code>is_use_gi</code> | ||
| |} | |} | ||
Revision as of 18:58, 22 July 2025
A standard PBR shader with no special logic.
Related shaders
Behavior
- Supports deferred rendering
- Supports compute instancing
- Supports transparency blending
- Supports transparency clipping
- Uses the PBR lighting model
- Uses weather effects
- Uses the default shading model
- Vertex colors, including alpha, get combined with the diffuse texture via multiplication. (Only if they are not already used for vertex animation textures)
Textures
| Name | Index | Info | 
|---|---|---|
| diffuse | 0 | A standard albedo texture. Uses alpha channel for transparency. Uses the 1st UV channel. | 
Parameters
| Name | X | Y | Z | W | 
|---|---|---|---|---|
| PBRFactor | Specular factor | Smoothness factor | Metallic factor | N/A | 
Technical
Uses the default vertex shader.
| 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 |