mathe/Library/PackageCache/com.unity.shadergraph@14.0.8/Documentation~/Cubemap-Asset-Node.md

18 lines
758 B
Markdown
Raw Normal View History

2024-09-20 20:30:10 +02: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. |