CompStart

ProLessonsCoursesElementsSoftware

CompStart

Learn visual effects with cutting-edge techniques.

Learning

CoursesLessonsPro FeaturesAssetsSoftware

Tools

Tech CheckDisplay CheckMotion BlurPhysLightNuke Tools

Company

InstructorMissionSitemapPrivacyTerms

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

channel
stmap
uv
utility
warp
mapping
View on GitHub

Adds a normalized UV STMap layer to the incoming image for warping and texture-mapping workflows in Nuke.

Channel STMap writes a standard STMap into the stmap layer on the incoming image. Red holds normalized X as (x + 0.5) / width; green holds normalized Y as (y + 0.5) / height, matching common UV center sampling.

Use it when a downstream STMap, IDistort, or similar warp needs explicit UV channels on the plate or pass you already have in the tree. The original image is preserved; only the stmap layer is added via Copy.

There are no exposed controls. Drop it on a stream whenever you need a full-frame identity STMap bound to that clip’s resolution.

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