Singularity/Library/PackageCache/com.unity.shadergraph@12.1.11/Documentation~/Cubemap-Asset-Node.md

18 lines
758 B
Markdown
Raw Normal View History

2024-05-06 14:45:45 -04:00
# Cubemap Asset Node
## Description
Defines a constant **Cubemap Asset** for use in the shader. To sample the **Cubemap Asset** it should be used in conjunction with a [Sample Cubemap Node](Sample-Cubemap-Node.md). When using a separate **Cubemap Asset Node** you can sample a **Cubemap** twice, with different parameters, without defining the **Cubemap** itself twice.
## Ports
| Name | Direction | Type | Binding | Description |
|:------------ |:-------------|:-----|:---|:---|
| Out | Output | Cubemap | None | Output value |
## Controls
| Name | Type | Options | Description |
|:------------ |:-------------|:-----|:---|
| | Object Field (Cubemap) | | Defines the cubemap asset from the project. |