Lithophane 3D Printing: Grayscale-to-Depth Mapping, Backlighting, and Slicer Settings
This site covers photo engraving on wood and metal at length on the laser side, but the equivalent photographic technique in FDM printing — lithophanes — hasn't been covered here yet, despite being one of the most popular things people actually print once they own a machine. A lithophane is a thin, variable-thickness panel that looks like a blank white or translucent plaque until you backlight it, at which point a full grayscale image appears, with thin areas (letting more light through) reading as bright and thick areas (blocking more light) reading as dark. It's a genuinely different printing challenge from a normal model: instead of designing geometry and slicing it, you're converting a 2D image directly into a heightmap, and the entire visual result depends on getting layer height, wall behavior, and light source right.
How a Lithophane Actually Works
A lithophane is a single, mostly flat panel where local thickness encodes brightness. Thin regions transmit more light and appear bright; thick regions block more light and appear dark. Because the eye reads transmitted light logarithmically, not linearly, a good lithophane converter maps pixel brightness to thickness with a gamma curve rather than a straight linear scale — a pure linear mapping tends to wash out midtones and crush shadow detail. Most dedicated lithophane tools (ImageToLithophane, the lithophane generators built into some slicers, and web tools like 3DP Rocks) handle this curve for you; if you build the heightmap yourself in something like ImageMagick, you'll want to apply a gamma correction (roughly 1.8-2.2) before extruding pixel values into height.
Panel geometry matters as much as the heightmap. There are three common forms:
- Flat panel: simplest to print and design, mounts in a picture frame or stands in a 3D-printed easel with a light behind it. Best first project.
- Curved panel: wraps around a light source (common for lamp shades and nightlights); requires the source image to be pre-warped or the model curved in slicer/CAD, since a flat heightmap wrapped onto a cylinder will stretch unevenly if you don't correct for it.
- Wraparound cylinder/lamp: a full 360° image around a light bulb or LED core — the most complex case since the image needs to tile seamlessly at the seam.
Choosing Filament and Layer Height
Lithophanes are one of the few applications where layer height directly determines image resolution in the vertical axis, not just print quality. Standard practice is 0.1mm or finer layers; some people push to 0.08mm or even 0.06mm for portraits with fine tonal gradients, at the cost of print time. Nozzle diameter should stay at 0.4mm or smaller — larger nozzles struggle to resolve fine thickness transitions between adjacent pixels.
FilamentLight transmissionNotes White PLA (standard, not translucent)Good, most common choiceCheap, easy to print, reliable results — the default recommendation for a first lithophane Natural/translucent PLABest transmission, brightest highlightsThinner walls can go fully transparent in the brightest areas, which can blow out highlights if min thickness is set too low White PETGGood, slightly warmer light transmission than PLAMore layer adhesion strength if the piece will be handled often (coasters, ornaments) Colored PLA (light colors only)Reduced, tints the backlightCan be used deliberately for a warm/sepia look; avoid saturated or dark colors, which block too much light evenly and kill contrastAvoid ABS/ASA for lithophanes specifically — the layer lines scatter light more than PLA's smoother extrusion, which softens image sharpness, and there's no strength benefit to a panel that isn't a functional part.
Thickness Range: The Setting That Makes or Breaks the Image
Every lithophane generator asks for a minimum and maximum thickness. This range is the single biggest lever on contrast and detail:
- Minimum thickness (brightest areas): typically 0.4-0.8mm, or 2-3 perimeter layers at 0.1mm layer height. Go much thinner than 0.4mm and the panel becomes fragile and prone to layer separation or cracking when removed from the bed. Go thicker and highlights lose their brightness.
- Maximum thickness (darkest areas): typically 2.5-3.5mm. This needs to be thick enough to fully block your light source in true blacks — test with your actual LED panel or bulb, since a bright point-source LED will punch through 2.5mm of white PLA that would look opaque against a diffuse light panel.
The gap between min and max is your dynamic range. A narrow gap (say 0.6mm-2mm) produces a low-contrast, "flat" looking image; a wide gap (0.4mm-3.5mm) produces punchier contrast but risks the thinnest areas becoming translucent enough to show print artifacts. Most portraits look best in the 0.6-3.0mm range as a starting point, adjusted per test print.
Print Orientation and Slicer Settings
Print the panel flat on the bed, image face down against the plate if your design has a smooth outward face, or face up if the generator baked in a raft/base layer — check which side your specific tool assumes before slicing, since printing it backward inverts nothing visually (light still passes through either way) but can put the smoothest surface on the wrong side. Key slicer settings:
SettingRecommendationWhy Layer height0.08-0.12mmDirectly controls vertical resolution of tonal steps Top/bottom layers0 top layers, thin/no bottom raft beyond the model itselfSolid top layers would print over your image and ruin it; most lithophane files already have the correct solid geometry baked in Infill100% or "solid infill only," no sparse infillAny air gaps inside the panel scatter and diffuse light unevenly, creating blotchy patches invisible until backlit Walls/perimeters2-3 minimum, must match or exceed your minimum thicknessIf wall count doesn't cover the thinnest region, the slicer may substitute sparse infill there without warning — always slice-preview and check the thin areas render as solid Print speedSlower than normal detail prints, 30-40mm/sReduces ringing/ghosting artifacts that show up clearly once backlit, even if invisible in normal light Cooling100% fan after the first few layersThin, rapidly changing walls need fast solidification to hold dimensional accuracy layer to layerSlice-preview every lithophane before printing and scrub through layers looking for gaps — sparse infill silently substituted into thin regions is the most common cause of a lithophane that looks fine on the bed but shows dark blotches or pinholes when backlit.
Preparing the Source Image
Image prep matters more here than for most prints. Before generating the heightmap:
- Crop and adjust contrast/levels in any photo editor first — boosting midtone contrast slightly before conversion generally produces punchier results than relying on the generator's default curve.
- Convert to grayscale manually if your tool doesn't do a good job automatically; different converters weight color channels differently and skin tones in particular can come out muddy with a naive average.
- Resolution should roughly match your target print size at your chosen XY resolution — a photo lithophane at 100mm wide printed with a 0.4mm nozzle doesn't benefit from a 20-megapixel source image; 400-600px on the long edge is plenty and keeps file/mesh size manageable.
- For portraits, dodge the eyes and brighten teeth/eye whites slightly before conversion — these areas read as the most important brightness cues and benefit from a small manual boost.
Backlighting and Mounting
The light source is not an afterthought — the same panel looks dramatically different under different lighting:
- Diffuse LED panel or light pad: best, most even results. A cheap A5/A4 LED tracing pad or light box behind a picture-frame-mounted lithophane gives the most consistent, professional look.
- Warm white vs. cool white LEDs: warm white (2700-3000K) tends to flatter portraits and wood-tone imagery; cool white (5000-6500K) shows more contrast and crisper detail but can look clinical on skin tones.
- Point-source bulbs/LEDs: create hot spots and uneven brightness across the panel unless diffused with a sheet of translucent acrylic or another lithophane-thickness layer of white PLA between the source and the panel.
- Standoff distance: leave at least 10-15mm between the light source and the back of the panel for even diffusion; mounting the panel directly against an LED strip produces visible hot spots at each LED.
For frames, a simple 3D-printed easel-back frame with a recessed LED puck or panel light is the most common approach, and pairs naturally with this site's living-hinge and snap-fit design guides if you want a hinged stand or a magnetic backlight mount rather than screws.
Common Problems
SymptomCauseFix Image looks washed out, low contrast when litMin/max thickness range too narrow, or gamma curve too flatWiden the thickness range; re-run conversion with a stronger gamma correction Visible horizontal banding across the imageInconsistent layer height from poor Z-axis calibration, or E-steps drift changing wall thickness slightly per layerRe-calibrate E-steps and check for binding in the Z lead screw; print a temperature/flow tower to rule out extrusion inconsistency Dark blotches or pinholes when backlit but panel looks fine unlitSparse infill substituted in thin regions instead of solid materialSet infill to 100%/solid-only and re-slice; verify in slicer preview before printing Warping or cracking at the edgesLarge flat panel cooling unevenly, common with PLA on a poorly-adhered bedUse a brim, ensure first-layer squish is correct, and keep ambient drafts off the print Image looks correct but flipped left-rightPrinted on the wrong face, or generator's orientation convention wasn't accounted forCheck your specific tool's documentation for which face is meant to face the viewer before slicingLithophanes are a low-material, low-time way to get a genuinely striking result out of an FDM printer that most people only associate with functional parts and figurines — a single portrait panel takes a few hours and a few grams of filament, and the failure modes are well-understood once you know layer height and infill are doing double duty as image resolution and light-blocking. Start with a simple flat panel in white PLA at 0.1mm layers before attempting a curved lamp shade or wraparound design, since diagnosing thickness-range problems is much easier on a flat test piece than on a cylinder.