Firstborn/Library/PackageCache/com.unity.shadergraph@12.1.11/Documentation~/Iris-UV-Location-Node.md

18 lines
1.1 KiB
Markdown
Raw Normal View History

2023-03-28 13:24:16 -04:00
# Iris UV Location Node
This node converts the object position of the cornea/iris to a UV Sampling coordinate.
## Render pipeline compatibility
| **Node** | **Universal Render Pipeline (URP)** | **High Definition Render Pipeline (HDRP)** |
| ------------------------- | ----------------------------------- | ------------------------------------------ |
| **Iris UV Location Node** | No | Yes |
## Ports
| name | **Direction** | type | description |
| --------------- | ------------- | ------- | ------------------------------------------------------------ |
| **Position OS** | Input | Vector3 | Position on the iris Plane in object space. |
| **Iris Radius** | Input | float | The radius of the Iris in the used model. For the default model, this value should be **0.225**. |
| **IrisUV** | Output | Vector2 | ormalized UV coordinates that can be used to sample either a texture or procedurally generate an Iris Texture. |