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

18 lines
758 B
Markdown
Raw Normal View History

2023-03-28 13:24:16 -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. |