Skip to content

Texture Transform

GerardMTE edited this page Jun 19, 2026 · 6 revisions

Warning

This documentation page is still work in progress.

image

Allows the user to modify the Mutable texture's transform by changing its offset, scale and also rotation:

  • Offset (X and Y) : Applies a delta over the texture's pixel positions. It displaces their position over the texture space. Each unit means a full texture offset so -1 would produce the exact same output as 0 or 1 or 2. Then 0.5 would displace the texture half its size to X or/and Y, depending on the axis updated.

  • Scale (X and Y) : Scales the whole texture linearly. A value of 0.5 produces a texture half the size of the original one filled with tiled data over it's periphery. A texture with scale 1 is visually identical to the provided texture. And an texture with scale -1 produces the mirrored original texture.

  • Rotation : Rotates the texture clockwise using the center as origin for the rotation. A value of 0 returns the same texture while a value of 0.5 rotates the texture half the way (180º). Each rotation unit represents a full texture rotation (360º).

(NOTE) The** order in witch the transforms get applied** is first offset, then **scale **and last rotation.

(NOTE) Missing pixel data due to scaling, offsetting or rotating the texture is automatically filled with tiled data from the texture being worked on.

(NOTE) The resolution of the texture does not get modified, but its contents do. The output texture has the same resolution as the original — for example, when scaling it.

Clone this wiki locally