DarkRadiant - Paste Texture Coordinates

From The DarkMod Wiki
Jump to navigationJump to search

This command works only from Patches to Patches and is available via the Alt-MMB. The source and target patches must have the same matrix dimensions (e.g. you can only paste the coordinates from 5x3 patches to another 5x3 patch). The shape of the target patch stays untouched, it's just the shader coordinates (U/V) that get cloned. See this example:

Texturecoord copy1.jpg Texturecoord copy2.jpg

The left image shows two patches with equal dimensions (3x3). The left patch is considered the source patch - after clicking it with MMB the ShaderClipboard memorises this patch. After clicking the right patch (the target) using Alt-MMB, the U/V coordinates get cloned from the left to the right. I've used an 2x2 texture tiling layout to illustrate the workings. As stated above, the shader itself stays untouched, it's just the "internal" coordinates of the target patch that get altered.

Another example:

Texturecoord copy3.jpg Texturecoord copy4.jpg