UVs
UV parameters control how textures are mapped onto 3D surfaces by transforming texture coordinates through scaling and offset operations.
Parameters
| Parameter | Type | Default | Range |
|---|---|---|---|
scale | vec2 | [1.0, 1.0] | (0.0, ∞] |
offset | vec2 | [0.0, 0.0] | [-∞, ∞] |
Parameter Details
scale
Type: vec2
Default: [1.0, 1.0]
Range: (0.0, ∞]
UV coordinate scale (texture tiling).
1.0= No tiling2.0= Repeats twice0.5= Half size (zoomed)
offset
Type: vec2
Default: [0.0, 0.0]
Range: [-∞, ∞]
UV coordinate offset (texture position).
0.0= No shift0.5= Half texture shift1.0= Full texture shift
UV Transformation
finalUV = originalUV * scale + offset
Applies to all material textures (albedo, normal, roughness, etc).