Jump to content

Shadow Generations Shaders - Common dpn: Difference between revisions

From HedgeDocs
Justin113D (talk | contribs)
Added page
Justin113D (talk | contribs)
m Added shading model
 
(4 intermediate revisions by the same user not shown)
Line 1: Line 1:
{{DISPLAYTITLE:Shadow Generations Shaders - Common_dpn}}
{{DISPLAYTITLE:Shadow Generations Shaders - Common_dpn}}
[[Shadow Generations Shaders|Return to shaders list]]


The standard PBR shader with no special logic.
The standard PBR shader with no special logic.
Line 16: Line 18:
* Supports [[Mesh Layers#Transparent|transparency blending]]
* Supports [[Mesh Layers#Transparent|transparency blending]]
* Supports [[Mesh Layers#Punch-through|transparency clipping]]
* Supports [[Mesh Layers#Punch-through|transparency clipping]]
* Supports <code>user_model_1</code> (?)
* Supports <code>u_model_user_flag_0</code> (?)
* Uses the [[Hedgehog Engine 2 - Physically Based Rendering (PBR)|PBR lighting model]]
* Uses the [[Hedgehog Engine 2 - Physically Based Rendering (PBR)|PBR lighting model]]
* Uses [[Hedgehog Engine 2 - Weather|weather effects]]
* Uses [[Hedgehog Engine 2 - Weather|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)
* Vertex colors, including alpha, get combined with the diffuse texture via multiplication. (Only if they are not already used for vertex animation textures)


== Textures ==
== Textures ==


=== diffuse ===
{| class="wikitable" width="100%"
 
|+
A standard [[Hedgehog Engine 2 - Textures#Albedo|albedo]] texture.
! width=10% |Name
! width=1% |Index
!Info
|-
|<b>diffuse</b>
|0
|A standard [[Hedgehog Engine 2 - Textures#Albedo|albedo]] texture.


Uses alpha channel for transparency.
Uses alpha channel for transparency.


Uses the 1st UV channel.
Uses the 1st UV channel.
 
|-
=== specular ===
|specular
 
|0
A standard [[Hedgehog Engine 2 - Textures#PRM|PRM]] texture.
|A standard [[Hedgehog Engine 2 - Textures#PRM|PRM]] texture.


Uses the 1st UV channel.
Uses the 1st UV channel.
 
|-
=== normal ===
|normal
 
|0
A standard [[Hedgehog Engine 2 - Textures#Normal map|normal map]] texture.
|A standard [[Hedgehog Engine 2 - Textures#Normal map|normal map]] texture.


Attempts to use the 3rd UV channel.
Attempts to use the 3rd UV channel.
|}


== Parameters ==
== Parameters ==

Latest revision as of 18:04, 12 July 2025


Return to shaders list

The standard PBR shader with no special logic.

Related shaders

Behavior

Textures

Name Index Info
diffuse 0 A standard albedo texture.

Uses alpha channel for transparency.

Uses the 1st UV channel.

specular 0 A standard PRM texture.

Uses the 1st UV channel.

normal 0 A standard normal map texture.

Attempts to use the 3rd UV channel.

Parameters

This shader does not use any parameters

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
u_model_user_flag_0
Cookies help us deliver our services. By using our services, you agree to our use of cookies.