Uploaded October 2026 | Updated November 2026, 3 hours ago
Autodesk Flame 2027.1 Update brings a new node, Pixel Expression, used to apply colour-based changes to a clip using the GLSL shading language. Contrary to Matchbox, it is not required to create a shader using .glsl and .xml files outside of the application, and then load the shader to use it.
What can achieved using the Pixel Expression node is more limited, but the commands are written inside the application and directly applied to the image, making it easier to apply simpler changes.
Level: Beginner
Recorded in: Autodesk Flame 2027.1 Update
Recorded by: Jeff Kyle
---
DESPILL GREEEN EXAMPLE
Red: r1
Green: mix(g1, min(g1, (r1 + b1) / 2.0), spill)
Blue: b1
Variables:
spill: 1
ROUNDED BOX EXAMPLE
Red: mix(1.0, smoothstep(-soft, soft, d2), step(0.0001, hollow)) - smoothstep(-soft, soft, d)
Green: mix(1.0, smoothstep(-soft, soft, d2), step(0.0001, hollow)) - smoothstep(-soft, soft, d)
Blue: mix(1.0, smoothstep(-soft, soft, d2), step(0.0001, hollow)) - smoothstep(-soft, soft, d)
Matte: mix(1.0, smoothstep(-soft, soft, d2), step(0.0001, hollow)) - smoothstep(-soft, soft, d)
Variables:
bx: 200.000
by: 120.000
corner: 40.000
hollow: 0.000
soft: 2.000
Formulas:
wall: (1.0 - hollow) * min(bx, by)
cin: clamp(hollow * min(bx, by), 0.0, corner)
d: length(max(abs(vec2(x - centre.x, y - centre.y)) - vec2(bx - corner, by - corner), 0.0)) + min(max(abs(x - centre.x) - (bx - corner), abs(y - centre.y) - (by - corner)), 0.0) - corner
d2: length(max(abs(vec2(x - centre.x, y - centre.y)) - vec2(bx - wall - cin, by - wall - cin), 0.0)) + min(max(abs(x - centre.x) - (bx - wall - cin), abs(y - centre.y) - (by - wall - cin)), 0.0) - cin
CRT EFFECT EXAMPLE
Red: r1 * tone * (1.0 - maskDepth * (1.0 - step(mod(floor(x / scale), 3.0), 0.5)))
Green: g1 * tone * (1.0 - maskDepth * (1.0 - step(abs(mod(floor(x / scale), 3.0) - 1.0), 0.5)))
Blue: b1 * tone * (1.0 - maskDepth * (1.0 - step(2.5, mod(floor(x / scale), 3.0) + 1.0)))
Matte: m1
Variables:
scanDepth: 0.300
maskDepth: 0.300
vignette: 0.400
scanFreq: 1.500
scale: 3.000
roll: 0 to 1.000 (keyframed)
Formulas:
vig: 1.0 - vignette * smoothstep(0.4 * height, 0.75 * height, length(vec2(x - width * 0.5, y - height * 0.5)))
bar: 1.0 + 0.4 * smoothstep(0.85, 1.0, cos((y / height - roll) * 2.0 * PI))
tone: vig * bar * (1.0 - scanDepth * (0.5 + 0.5 * sin(y * scanFreq)))
---
If you wish to try what's new, you can download the free 30-day Flame trial at autodesk.com/products/flame/trial-intake
or if you are in education, you can sign up for a free license at autodesk.com/education/edu-software/overview
For additional information, feedback and comments:
Pixel Expression Release Notes
help-beta.autodesk.com/view/FLAME/2027/ENU/?guid=pixel-expression
Join the Logik community - home to Flame artists since 2020
logik.tv
Autodesk Blog
blogs.autodesk.com/media-and-entertainment
Autodesk LinkedIn
linkedin.com/showcase/autodesk-media-&-entertainment
00:00 Introduction
00:36 Overview
02:59 Despill Example
03:51 Rounded Rectangle Example
04:40 CRT Effect Example
Autodesk Flame 2027.1 Update brings a new node, Pixel Expression, used to apply colour-based changes to a clip using the GLSL shading language. Contrary to Matchbox, it is not required to create a shader using .glsl and .xml files outside of the application, and then load the shader to use it.
What can achieved using the Pixel Expression node is more limited, but the commands are written inside the application and directly applied to the image, making it easier to apply simpler changes.
Level: Beginner
Recorded in: Autodesk Flame 2027.1 Update
Recorded by: Jeff Kyle
---
DESPILL GREEEN EXAMPLE
Red: r1
Green: mix(g1, min(g1, (r1 + b1) / 2.0), spill)
Blue: b1
Variables:
spill: 1
ROUNDED BOX EXAMPLE
Red: mix(1.0, smoothstep(-soft, soft, d2), step(0.0001, hollow)) - smoothstep(-soft, soft, d)
Green: mix(1.0, smoothstep(-soft, soft, d2), step(0.0001, hollow)) - smoothstep(-soft, soft, d)
Blue: mix(1.0, smoothstep(-soft, soft, d2), step(0.0001, hollow)) - smoothstep(-soft, soft, d)
Matte: mix(1.0, smoothstep(-soft, soft, d2), step(0.0001, hollow)) - smoothstep(-soft, soft, d)
Variables:
bx: 200.000
by: 120.000
corner: 40.000
hollow: 0.000
soft: 2.000
Formulas:
wall: (1.0 - hollow) * min(bx, by)
cin: clamp(hollow * min(bx, by), 0.0, corner)
d: length(max(abs(vec2(x - centre.x, y - centre.y)) - vec2(bx - corner, by - corner), 0.0)) + min(max(abs(x - centre.x) - (bx - corner), abs(y - centre.y) - (by - corner)), 0.0) - corner
d2: length(max(abs(vec2(x - centre.x, y - centre.y)) - vec2(bx - wall - cin, by - wall - cin), 0.0)) + min(max(abs(x - centre.x) - (bx - wall - cin), abs(y - centre.y) - (by - wall - cin)), 0.0) - cin
CRT EFFECT EXAMPLE
Red: r1 * tone * (1.0 - maskDepth * (1.0 - step(mod(floor(x / scale), 3.0), 0.5)))
Green: g1 * tone * (1.0 - maskDepth * (1.0 - step(abs(mod(floor(x / scale), 3.0) - 1.0), 0.5)))
Blue: b1 * tone * (1.0 - maskDepth * (1.0 - step(2.5, mod(floor(x / scale), 3.0) + 1.0)))
Matte: m1
Variables:
scanDepth: 0.300
maskDepth: 0.300
vignette: 0.400
scanFreq: 1.500
scale: 3.000
roll: 0 to 1.000 (keyframed)
Formulas:
vig: 1.0 - vignette * smoothstep(0.4 * height, 0.75 * height, length(vec2(x - width * 0.5, y - height * 0.5)))
bar: 1.0 + 0.4 * smoothstep(0.85, 1.0, cos((y / height - roll) * 2.0 * PI))
tone: vig * bar * (1.0 - scanDepth * (0.5 + 0.5 * sin(y * scanFreq)))
---
If you wish to try what's new, you can download the free 30-day Flame trial at autodesk.com/products/flame/trial-intake
or if you are in education, you can sign up for a free license at autodesk.com/education/edu-software/overview
For additional information, feedback and comments:
Pixel Expression Release Notes
help-beta.autodesk.com/view/FLAME/2027/ENU/?guid=pixel-expression
Join the Logik community - home to Flame artists since 2020
logik.tv
Autodesk Blog
blogs.autodesk.com/media-and-entertainment
Autodesk LinkedIn
linkedin.com/showcase/autodesk-media-&-entertainment
00:00 Introduction
00:36 Overview
02:59 Despill Example
03:51 Rounded Rectangle Example
04:40 CRT Effect Example










