CompStart

ProLessonsCoursesElementsSoftware

CompStart

Master visual effects with cutting-edge techniques.

Learning

CoursesLessonsPro FeaturesAssetsSoftware

Tools

Tech CheckDisplay CheckMotion BlurCIE 1931PhysLightNuke Tools

Company

InstructorMissionImpressumPrivacyTerms

Projects

Moray RenderEXR ConverterOCIO.ccNuke ToolsDerekVFX

Follow

YouTubeInstagramTikTokThreadsContact

© 2026 CompStart. All rights reserved.

Channel STMap

ToolSets / Channel
Channel

2026-09-07

ToolSets/channel/channelSTMap.nk

stmap
channel
uv
utility
warp
coordinates
layer
View on GitHub

Adds a normalized STMap layer to the incoming image for UV-based warps and coordinate-driven workflows in Nuke.

Channel STMap builds a standard STMap on the incoming image. Red and green hold normalized pixel coordinates: (x + 0.5) / width and (y + 0.5) / height, written into an stmap layer and copied onto the source so RGB and other channels pass through unchanged.

Use it when you need a clean UV reference matched to the current resolution—STMap warps, custom displacements, or any setup that samples by normalized screen position.

The gizmo is a fixed utility with no exposed controls. Resolution follows the input; the map is full-frame and ready to pipe into STMap, IDistort, or similar nodes.

Script code

set cut_paste_input [stack 0]
version 13.1 v2
push $cut_paste_input
Group {
name channelSTMap
tile_color 0x421010ff
selected true
xpos -2464
ypos 9732
}
Input {
inputs 0
name Input
selected true
xpos -402
ypos 250
}
Dot {
name Dot57
xpos -359
ypos 295
}
set N598d3200 [stack 0]
Expression {
expr0 "(x + .5) / width"
expr1 "(y + .5) / height"
name Expression10
label "\[knob expr3]"
xpos -236
ypos 337
}
add_layer {stmap stmap.red stmap.green stmap.blue stmap.alpha}
Shuffle {
out stmap
name ShuffleOld42
label "\[value in]"
xpos -236
ypos 363
}
push $N598d3200
Copy {
inputs 2
channels stmap
name Copy18
xpos -393
ypos 424
}
Output {
name Output1
xpos -393
ypos 524
}
end_group