kapy academy

Painting with filament and light

11 min readUpdated Nov 2026

You want a portrait, a landscape or a shaded logo from four to eight spools, without a filament switcher. A filament painting is a flat relief a few millimeters thick, printed face up on the build plate, in which each height band is one filament. Thin plastic lets light through, so where the top color is thin you see the one beneath it: thickness becomes tone. It is color by height: you pay for a change only when a new spool comes in, never once per layer, and each change is a pause and a swap by hand.

Why a thin layer shows the color beneath

Pigmented plastic is not fully opaque. Light that enters is absorbed and scattered by the pigment, and the deeper it goes, the less of it comes back out. To a first approximation, the fraction that gets through falls exponentially with thickness: each extra layer of the same filament cuts what is left by the same proportion. It is a simplified model (in plastic loaded with pigment, scattering dominates), but it explains what you see: the first layers of a color change the look a lot, each one after that less.

The mixing is subtractive and depends on thickness, like a glaze in painting. A 0.08 mm layer of white over black looks almost black; a few tenths of a millimeter, gray; and only at a thickness around its TD, solid white. A white with a TD of 5 needs several millimeters to hide the black completely. That is how four spools give you dozens of tones.

basetop colorfront-litlight boxbasebacklitTDthicknesslight through
With the same relief, front light hides the base color sooner; lit from behind, over a light base, the thick areas come out dark.

Where the light comes from matters. From the front (a picture on the wall), light enters through the top layers, bounces off what lies beneath and comes back out: it crosses the upper layers twice, so the lower colors fade sooner. From behind (against a window or a light box), light passes through the whole stack once and the thick areas come out dark. Pick one of the two when you plan, before you generate the relief: the same file looks different in each. HueForge has previews for front light and for backlight.

The precedent is the lithophane: a single white or natural filament in which thickness sets the brightness, always lit from behind, with the thick parts dark. The filament painting adds colors to the same idea.

TD: one number per filament

Transmission distance (TD, HueForge's term) tells you how far light reaches into a filament. High TD: translucent, it blends with what is beneath. Low TD: opaque, it covers it. The Polymaker wiki reads it as a thickness: with a TD of 2, beyond about 2 mm the colors beneath barely contribute.

Some values from Prusa's table for Prusament, on a scale of 0.1 to 100:

TD of some Prusament filaments (Prusa's table)
Filament TD
PLA Jet Black 0.3
PETG Signal White 3.4
PLA Pristine White 5.1
PLA Vanilla White 7.1
PETG Clear 100

TD belongs to a product, not to a color name. Pigment loading varies between brands, between lines and even between batches. Two white PLAs from the same brand measure 5.1 and 7.1, and a white PETG stops at 3.4. Matt, silk and translucent lines drift further still: Polymaker gives a matt black in its Panchroma line a TD of 0.1, and translucent ones give very high values (the differences between variants are in PLA and its variants). According to HueForge's FAQ, a wrong TD is the most common reason a print does not look like the preview.

Three ways to get it, from least to most effort:

  1. The published value from the filament maker or the program's library, provided it is for that exact product.
  2. A step test: print a staircase of thicknesses in that filament, at 100 % infill, and look at it against a small light box. HueForge's official test includes the box, with a white diffuser. The TD is the last step before the light stops changing.
  3. A sensor: devices such as BIQU's AJAX TD1S read the TD and the color's hex code as a short length of 1.75 mm filament passes through them. The maker quotes an accuracy of ±7.5 % on the TD.

Measure the color too: the spool's rarely matches the catalog swatch.

From the image to a stack of colors

Every program follows the same scheme. The image becomes a height map (brightness → height), the relief is sliced into layers and you choose which filament starts at which height. The program computes the preview from each filament's TD and color.

imageheight mapfirst layerswapswapswapdark to lightlayer grid
Each height band is one filament, and each change falls on a layer of the series 0.16 + n × 0.08 mm.

Color order: darkest at the bottom, lightest at the top, for front-lit pictures. The dark base supplies the shadows, and each lighter color only reaches full strength where it is thick, that is, in the highlights. A light color under a dark one vanishes as soon as the dark one adds a few layers, because the top color has a low TD. There are exceptions, such as an accent color mid-stack, but start from dark-to-light. The usual stack is a black or dark gray base, a mid tone, one or two colors and white on top.

For a backlit picture the logic flips, as in a lithophane: the highlights are the thin areas, the shadows the thick ones, and the base has to let light through, so a black base no longer works.

How many colors? Each one is a change and a height band. Four is a good starting point. More colors give more tones, but each needs its own band of layers to reach its full color. If the band is thinner than its TD calls for, that color never shows as itself: it only tints the one beneath.

The thinner the layers, the more tones. A common community setting is 0.08 mm per layer with a 0.16 mm first layer, thinner than the usual 0.20 mm, so it needs a well-leveled bed. With 0.08 mm layers, every 0.4 mm of relief gives 5 tone steps; with 0.20 mm layers, 2. Some go down to 0.04 mm for fine gradients, below the normal range of a 0.4 mm nozzle (0.08–0.28 mm): it doubles the print time and asks for a first layer and a Z axis that can hold it. What limits layer height is in Layer height and line width.

The program outputs an STL of the relief and a list of change heights (HueForge writes it to a text file). You enter those heights in the slicer as color changes or pauses, following Assigning colors in the slicer.

Preparing the print

Print it without supports, flat on the plate, image facing up.

Match the plan's layers exactly. The layer height and first-layer height in the slicer must be the plan's, because color boundaries always fall at first layer + n × layer height, the same rule as in Designing for multicolor. If the plan assumed 0.16 + 0.08 mm and the slicer prints 0.20 + 0.08 mm, the plan's heights land between two layers: the slicer puts each change on the nearest one, a layer early or late, and some tone steps merge. Then check each change in the layer preview: the new color must start on the stated layer. The most common mistake is confusing "at this height" with "on this layer": the change shifts by one layer.

100 % infill. With sparse infill, under the top colors there is only air and the infill pattern. Light passes unevenly and the pattern shows through, especially when backlit.

The visible face is a series of top surfaces at many heights. Monotonic top infill keeps each area from ending up with its lines running a different way. Ironing is rarely worth it: every step is a new top surface, it lengthens the print and it can smear the edges between colors. If you want to use it, run a test first (see Top surfaces).

With the usual 0.4 mm nozzle, line width is about 0.45 mm, and no detail of the image smaller than that makes it into the relief. A 0.2 mm nozzle gives more detail at the cost of much more time; that is covered in Nozzles: size and material.

Without a switcher, each swap is a pause or an M600 and you change the spool by hand. Purge the previous color completely before resuming: a streak of the old color in the new band is the typical defect, and switching to white takes more purging than you would think. With a filament switcher or a toolchanger, the changes are automatic. Purge runs from 0.2 to 0.8 g per change, and here count on the high end, because every change goes from a dark color to a lighter one: six changes use about 5 g, far from a multicolor part that changes on every layer. The reasons behind those figures are in Purge and multicolor waste.

Keep the filament dry and the extrusion steady. In a long print of thin layers, any under-extrusion shows as pale streaks, because a thinner top layer reveals more of the color beneath.

Lighting and framing the picture

From the front, a raking light also picks out the relief with shadows; a diffuse light shows the colors better. From behind, a window or a light box works; an LED strip a few centimeters behind a diffuser avoids hot spots.

If the picture will be backlit, mind the base: a dark, opaque one lets no light through. Backlit pictures need a white or translucent base.

Two identical panels of a mountain landscape in relief, in four colors; the left one hangs on the wall lit by a lamp, the right one stands in front of a light box: the thick peaks come out dark and light shows through the thin areas
Two identical panels of a mountain landscape in relief, in four colors; the left one hangs on the wall lit by a lamp, the right one stands in front of a light box: the thick peaks come out dark and light shows through the thin areas

The relief is thin and can warp; a printed frame or a backing plate keeps it flat and lets you hang it.

Software available in late 2026

HueForge is paid and runs on Windows, macOS and Linux. Its public release is 0.9.4.x, and updates require a maintenance subscription. On its own it plans one color per layer. Its FlatForge add-on prepares flat prints, face down as well, with several colors per layer; that mode needs a filament switcher or a toolchanger. Bambu Lab offers Chroma Canvas, a MakerLab tool on MakerWorld that turns an image into a filament painting in the browser. There are also free, open-source browser tools such as Kromacut.

When it fails

Symptom, cause and fix
Symptom Cause Fix
Muddy or washed-out colors TD that does not match these spools Measure the TD (steps or sensor) and replan
A color appears where it should not, or a band starts early or late Layer or first-layer height different from the plan, or change assigned to another layer Match the layers to the plan and check each change in the layer preview
Highlights too dark Light color's band too thin for its TD, or order not dark to light Give the light color more height or move it up the stack
Infill pattern shows through Sparse infill 100 % infill
Streak of the previous color at a change Incomplete purge after the manual swap Extrude until the color comes out clean before resuming
Fine on screen, wrong on the wall Preview mode (front or back) or the real light differs from the plan Plan with the preview for the mode you will display it in
The switcher fails to load or the nozzle oozes onto the picture A hardware fault, not the technique Multi-material failures

See also

Design it in KapyCAD

Many of these problems are cheaper to fix in the model than in the slicer: wall thickness, overhangs, the face the part stands on.

Free plan, no card. Runs in your browser, nothing to install.

Open the editor

Still have a question?