This commit is contained in:
2026-11-24 15:51:02 +01:00
parent cca4d73e41
commit f4aa17114a
22092 changed files with 5042406 additions and 0 deletions
@@ -0,0 +1,3 @@
> [!IMPORTANT]
> The Built-In Render Pipeline is deprecated and will be made obsolete in a future release.<br/>It remains supported, including bug fixes and maintenance, through the full Unity 6.7 LTS lifecycle.<br/>For more information on migration, refer to [Migrating from the Built-In Render Pipeline to URP](https://docs.unity3d.com/6000.5/Documentation/Manual/urp/upgrading-from-birp.html) and [Render pipeline feature comparison](https://docs.unity3d.com/6000.5/Documentation/Manual/render-pipelines-feature-comparison.html).
@@ -0,0 +1,5 @@
---
title: hdrp-latest-link
---
For more information on the HDRP, see [Unity's HDRP package documentation](https://docs.unity3d.com/Packages/com.unity.render-pipelines.high-definition@latest).
@@ -0,0 +1,5 @@
---
title: nodes-additional-settings
---
node has some additional settings that you can access from the Graph Inspector:
@@ -0,0 +1,5 @@
---
title: nodes-all-contexts.md
---
node can also be connected to any Block node in either Context. For more information on Block nodes and Contexts, refer to [Master Stack](../Master-Stack.md).
@@ -0,0 +1,9 @@
---
title: nodes-compatibility-all
---
node is supported on the following render pipelines:
| Built-In Render Pipeline | Universal Render Pipeline (URP) | High Definition Render Pipeline (HDRP) |
|--------------------------|---------------------------------|----------------------------------------|
| Yes | Yes | Yes |
@@ -0,0 +1,9 @@
---
title: nodes-compatibility-hdrp
---
node is supported on the following render pipelines:
| **Built-in Render Pipeline** | **Universal Render Pipeline (URP)** | **High Definition Render Pipeline (HDRP)** |
| :--- | :--- | :--- |
| No | No | Yes |
@@ -0,0 +1,5 @@
---
title: nodes-controls
---
node has the following controls:
@@ -0,0 +1 @@
- [Node Reference sample](Shader-Graph-Sample-Node-Reference.md)
@@ -0,0 +1,5 @@
---
title: nodes-fragment-only
---
node can only be connected to a Block node in the **Fragment** Context. For more information on Block nodes and Contexts, refer to [Master Stack](../Master-Stack.md).
@@ -0,0 +1,5 @@
---
title: nodes-generated-code
---
The following code represents this node in Unity's shader code
@@ -0,0 +1,5 @@
---
title: nodes-inputs
---
node has the following input ports:
@@ -0,0 +1,5 @@
---
title: nodes-outputs
---
node has the following output ports:
@@ -0,0 +1,4 @@
---
title: nodes-related
---
The following nodes are related or similar to the
@@ -0,0 +1,5 @@
---
title: nodes-single-control
---
node has one control:
@@ -0,0 +1,5 @@
---
title: nodes-single-input
---
node has one input port:
@@ -0,0 +1,5 @@
---
title: nodes-single-output
---
node has one output port:
@@ -0,0 +1,6 @@
---
title: nodes-subgraph-node
---
> [!NOTE]
> This node is a Subgraph node: it represents a Subgraph instead of directly representing Unity's shader code. Double-click the node in any Shader Graph to view its Subgraph.
@@ -0,0 +1,6 @@
---
title: nodes-sample-errors
---
> [!NOTE]
> If you experience texture sampling errors for this node in a graph with Custom Function Nodes or Sub Graphs, upgrade to Shader Graph version 10.3 or later.
@@ -0,0 +1,5 @@
---
title: nodes-sample-fragment-lod
---
With its default settings, this node can only connect to a Block node in the **Fragment** Context of a Shader Graph. To sample a Texture for the **Vertex** Context of a Shader Graph, set the [Mip Sampling Mode](#additional-node-settings) to **LOD**.
@@ -0,0 +1,11 @@
---
title: nodes-sample-mip-bias-sample-mode-table.md
---
| **Option** | **Description** |
|-------------------------|-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| **Use Global Mip Bias** | Enable Use Global Mip Bias to use the render pipeline's Global Mip Bias. This bias adjusts the percentage of texture information taken from a specific mip when sampling. For more information on mip bias, refer to Mipmaps introduction in the Unity User Manual. The options are:<ul><li>**Enabled**: Shader Graph uses the render pipeline's Global Mip Bias to adjust the texture information taken when sampling.</li><li>**Disabled**: Shader Graph doesn't use the render pipeline's Global Mip Bias to adjust texture information when sampling.</li></ul> |
| **Mip Sampling Mode** | Choose the sampling mode to use to calculate the mip level of the texture. The options are:<ul><li>**Standard**: The render pipeline calculates and automatically selects the mip for the texture.</li><li>**LOD**: The render pipeline lets you set an explicit mip for the texture on the node. The texture will always use this mip, regardless of the DDX or DDY calculations between pixels. Set the Mip Sampling Mode to LOD to connect the node to a Block node in the Vertex Context. For more information on Block nodes and Contexts, refer to Master Stack.</li><li>**Gradient**: The render pipeline lets you set the DDX and DDY values to use for its mip calculation, instead of using the values calculated from the texture's UV coordinates. For more information on DDX and DDY values, refer to Mipmaps introduction in the User Manual.</li><li>**Bias**: The render pipeline lets you set a bias to adjust the calculated mip for a texture up or down. Negative values bias the mip to a higher resolution. Positive values bias the mip to a lower resolution. The render pipeline can add this value to the value of the Global Mip Bias, or use this value instead of its Global Mip Bias. For more information on mip bias, refer to Mipmaps introduction in the User Manual.</li></ul> |
@@ -0,0 +1,28 @@
---
title: nodes-sample-mip-mode-table
---
<tr>
<td><strong>LOD</strong></td>
<td>Float</td>
<td>LOD</td>
<td><div class="NOTE"><h5>NOTE</h5><p>The <strong>LOD</strong> Input port only displays if <strong>Mip Sampling Mode</strong> is <strong>LOD</strong>. For more information, see <a href="#additional-node-settings">Additional Node Settings</a>.</p></div> The specific mip that the node uses when sampling the Texture.</td>
</tr>
<tr>
<td><strong>Bias</strong></td>
<td>Float</td>
<td>Bias</td>
<td><div class="NOTE"><h5>NOTE</h5><p>The <strong>Bias</strong> Input port only displays if <strong>Mip Sampling Mode</strong> is <strong>Bias</strong>. For more information, see <a href="#additional-node-settings">Additional Node Settings</a>.</p></div> If <strong>Use Global Mip Bias</strong> is enabled, Unity adds this Bias amount to the Global Mip Bias for a texture's mip calculation. If <strong>Global Mip Bias</strong> is disabled, Unity uses this Bias amount instead of the Global Mip Bias.</td>
</tr>
<tr>
<td><strong>DDX</strong></td>
<td>Float</td>
<td>DDX</td>
<td><div class="NOTE"><h5>NOTE</h5><p>The <strong>DDX</strong> Input port only displays if <strong>Mip Sampling Mode</strong> is <strong>Gradient</strong>. For more information, see <a href="#additional-node-settings">Additional Node Settings</a>.</p></div> The specific DDX value to use to calculate the Texture's mip when sampling. For more information on DDX values for mipmaps, see <a href="https://docs.unity3d.com/Documentation/Manual/texture-mipmaps-introduction.html">Mipmaps introduction</a> in the Unity User Manual..</td>
</tr>
<tr>
<td><strong>DDY</strong></td>
<td>Float</td>
<td>DDY</td>
<td><div class="NOTE"><h5>NOTE</h5><p>The <strong>DDY</strong> Input port only displays if <strong>Mip Sampling Mode</strong> is <strong>Gradient</strong>. For more information, see <a href="#additional-node-settings">Additional Node Settings</a>.</p></div> The specific DDY value to use to calculate the Texture's mip when sampling. For more information on DDY values for mipmaps, see <a href="https://docs.unity3d.com/Documentation/Manual/texture-mipmaps-introduction.html">Mipmaps introduction</a> in the Unity User Manual.</td>
</tr>
@@ -0,0 +1,11 @@
---
title: nodes-sample-rgba-output-table
---
| **Name** | **Type** | **Description** |
| :------ | :------- | :------------- |
| **RGBA** | Vector 4 | The full RGBA Vector 4 color value of the texture sample.|
| **R** | Float | The Red channel or X component of the texture sample. |
| **G** | Float | The Green channel or Y component of the texture sample.|
| **B** | Float | The Blue channel or Z component of the texture sample. |
| **A** | Float | The Alpha channel or W component of the texture sample.|
@@ -0,0 +1,5 @@
---
title: node-fragment-only
---
node can only connect to a Block node in the **Fragment** Context of your Shader Graph. For more information on Block nodes and Contexts, see [Master Stack](../Master-Stack.md).