UVTile

Shader that modifies uv mapping at render time. Supports the notion of a uv tile.

Updated: 20 August 2010

Author: jonathan

Compatible Nuke versions: 5.2 or later

Compatibility: Source

Modifies the uv mapping at render time supporting the notion of a uv tile - which is a uv region greater than 0-1.

For example, tile [1, 0] corresponds to the u range 1.0-2.0, and the v range 0.0-1.0.  Tile [0, 3] is the u range 0.0-1.0 and the v range 3.0-4.0.

note: The OpenGL preview will not be correct for all modes, especially when there are multiple Materials chained together which modify uvs (a Project3D as an input for example.)  The render should look correct however.

note2: When the renderer is in UV unwrap mode the merging of materials becomes somewhat pointless as all the UV ranges overlap.  What would be nice is if the renderer's UV range could be expanded so that merged tiles would map into their own range in the output image.  However this can't be done right now (that I can tell.)

This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

Sign in or register to download or rate.