mirror of
https://github.com/DigvijaysinhGohil/Godot-Shader-Lib.git
synced 2025-01-09 18:58:45 +08:00
708 B
708 B
Tiling and Offset node
Tiles and offsets the value of input UV by the inputs tiling and offset respectively. This is commonly used for detail maps and scrolling textures over TIME.
Default value for uv input will be vec2(0, 0) for shader modes PARTICLES, SKY and FOG to avoid errors becouse UV variable is not available for these modes.
Inputs
Name | Type | Binding | Description |
---|---|---|---|
uv | vec2 | UV | Input UV value |
tiling | vec2 | none | Amount of tiling to apply per channel |
offset | vec2 | none | Amount of offset to apply per channel |
Outputs
Name | Type | Binding | Description |
---|---|---|---|
uv | vec2 | None | Output UV value |