Singularity/Library/PackageCache/com.unity.shadergraph@12.1.11/Documentation~/Iris-Offset-Node.md

18 lines
1.1 KiB
Markdown
Raw Normal View History

2024-05-06 14:45:45 -04:00
# Iris Offset Node
Applies an offset to the center of the Iris as real world eyes are never symmetrical and centered.
## Render pipeline compatibility
| **Node** | **Universal Render Pipeline (URP)** | **High Definition Render Pipeline (HDRP)** |
| -------------------- | ----------------------------------- | ------------------------------------------ |
| **Iris Offset Node** | No | Yes |
## Ports
| name | **Direction** | type | description |
| -------------- | ------------- | ------- | ------------------------------------------------------------ |
| **IrisUV** | Input | Vector2 | Normalized UV coordinates to sample either a texture or procedurally generate an Iris Texture. |
| **IrisOffset** | Input | Vector2 | Normalized [0, 1]x[0,1] value that defines on each axis the intensity of the offset of the Center of the pupil. |
| **IrisUV** | Output | Vector2 | Normalized UV coordinates to sample either a texture or procedurally generate an Iris Texture. |