study/first_study/Library/PackageCache/com.unity.shadergraph@3686fafd4720/Documentation~/sample-element-texture-node.md
jh04010421 739d49f1a0 Unity | 2026.01.20
수업 실습 파일
2026-01-20 11:01:57 +09:00

1.6 KiB

uid
sample-element-texture-node

Sample Element Texture node

[!include]

The Sample Element Texture node samples a texture at specific UV coordinates. You can use this node to get multiple samples of the texture assigned to the element, for example to create complex visual effects or manipulate the texture.

Sampling multiple times with this node is more efficient than using several separate nodes for individual samples. This is because each node introduces overhead by traversing internal branches to select the correct texture slot. By combining multiple samples into a single node, you reduce this overhead and improve performance.

Ports

Name Direction Type Description
UV 0 Input Vector2 The UV coordinates to sample.
UV 1 Input Vector2 The second set of UV coordinates to sample.
UV 2 Input Vector2 The third set of UV coordinates to sample.
UV 3 Input Vector2 The fourth set of UV coordinates to sample.
Color 0 Output Color The sampled color from UV 0.
Color 1 Output Color The sampled color from UV 1.
Color 2 Output Color The sampled color from UV 2.
Color 3 Output Color The sampled color from UV 3.

Additional resources