A game about forced loneliness, made by TACStudios
at master 19 lines 1.4 kB view raw view rendered
1# Split Texture Transform Node 2 3## Description 4This node makes it possible to separately output tiling, offset, and texture data for a Texture 2D asset. That enables you to present an asset differently in a specific context—to warp it in a mirror, for example—and put it into the UV without modifying the original asset. 5 6This node outputs the texture with its tiling set to (0,0) and scale set to (1,1). That activates the shader property [NoScaleOffset](https://docs.unity3d.com/Manual/SL-Properties.html), which enables you to modify **Tiling Offset** values via the Material Inspector. 7 8Another term you may hear for tiling in this context is scale. Both terms refer to the size of the texture tiles. 9 10![](images/node-splittexturetransform.PNG) 11 12### Ports 13 14| **Name** | **Direction** | **Type** | **Description** | 15|--------------|-----------|-----------|------------------------------------------------------------------------| 16| In | Input | Texture2D | The Texture 2D Node input. | 17| Tiling | Output | Vector 2 | Amount of tiling to apply per channel, set via the Material Inspector. | 18| Offset | Output | Vector 2 | Amount of offset to apply per channel, set via the Material Inspector. | 19| Texture Only | Output | Vector 2 | The input Texture2D, without tiling and offset data. |