UV Setting
The UV Setting section transforms and animates the main UV: tiling, offset, a fixed rotation, and scrolling or spinning over time. It is the UV the main texture is drawn with.
The result of this section is the "main UV". Besides the main texture, many masks and features follow it. When another page says a texture "follows the main UV", tiling and animation set here apply to that texture too.
UV Setting#
Tiling / Offset#
_MainTex_ST vector2 + vector2 · default tiling (1, 1), offset (0, 0)
Standard Unity tiling and offset of the main texture. Tiling repeats the texture (2 = twice across the UV range), offset shifts it. The new UV is the mesh UV times tiling plus offset.
Angle#
_MainTex_ScrollRotate.z -180 – 180 degrees · default 0
Rotates the UV by a fixed angle after tiling and offset are applied. Useful to turn a pattern texture without editing the image.
UV Animation#
Scroll#
_MainTex_ScrollRotate.xy vector2 · default (0, 0)
Moves the UV continuously, in UV units per second along X and Y. For example (0, 0.5) scrolls the texture through one full repeat every two seconds. Use it for flowing patterns such as water or screens.
Rotate#
_MainTex_ScrollRotate.w float · default 0
Spins the UV continuously, in full turns per second (1 = one rotation per second, negative values spin the other way). The rotation is added on top of Angle.
Scroll and Rotate are calculated from the shader time, so every copy of the material moves in sync, and the animation is not shown in the Meta pass used for light baking (only Angle is applied there). UV animation can be stripped if the "animate main UV" feature is disabled in the shader settings. The fur shell pass uses only tiling and offset.
Shift Backface UV#
_ShiftBackfaceUV on / off · default off
On back faces, adds 1 to the U coordinate of the main UV before the steps above, which moves back faces into the next UV tile (U from 1 to 2). A texture with Repeat wrap mode looks the same on both sides. A texture with Clamp wrap mode shows its right-edge pixels on the back faces instead. Only the main UV is shifted: decals and UV Tile Discard read the mesh UV directly and are not affected. Only matters when back faces are drawn (Cull Mode Off).
Tiling and animation here also move every mask that follows the main UV. To animate only one layer, use the scroll and rotate options of that layer (for example in Main Color 2nd/3rd or Emission) instead.