Module 2 โข Lesson 3๐งต Surfaces & 3D
The last integration frontier is dimension. A graphic must sink into a fabric's folds, glass must bend what's behind it, and a CGI render must arrive as separable light. Displacement maps, refraction, and multi-pass compositing turn flat overlays into things that live on real surfaces.
๐ What You'll Learn
By the end of this lesson, you will be able to:
- Use a displacement map to wrap a graphic onto a textured surface's geometry
- Blend the wrapped graphic so it picks up the surface's light and shadow
- Fake glass and refraction โ see-through with distortion and speculars
- Understand a multi-pass CGI render (beauty, depth, AO, specular) and comp it
- Tie it all to Module 1's blend math and 32-bit light
โฑ๏ธ Estimated Time: 60 minutes
๐ฏ Project (module deliverable): A graphic displaced convincingly onto a textured surface, plus a glass or render element integrated with it.
In This Lesson
๐ค The Goal: On the Surface, Not On Top
The same logo on the same folded fabric. On the right, a flat decal โ straight lines ignoring every crease, obviously pasted. On the left, a displacement map bends the logo along the folds and a blend lets the fabric's shadows fall across it, so it reads as printed into the cloth. Drag the handle:
๐ง Mental Model: Luminance Is Geometry
You have no 3D model of the fabric โ but you don't need one, because the brightness of the surface already encodes its shape. Where cloth bulges toward the light it's bright; where it folds away it's dark. A displacement map reads that luminance and uses it to shove an overlay's pixels: bright areas push one way, dark the other, so the overlay deforms to follow geometry it can't see.
Displacement handles the shape; a blend mode handles the light. After displacing, shade it. For a dark graphic on a lighter surface, set the graphic to Multiply (or Linear Burn) so the surface's shadows darken it in the folds. Multiply can never darken white, though, so for a light graphic (like the white logo above) keep it on Normal and clip a desaturated copy of the surface above it, set to Multiply, with Levels pushing its lit areas to white so only the folds darken the art. Either way it stops being an overlay and becomes part of the material. Two steps: deform, then shade.
๐บ๏ธ The Displacement Map
The workflow: prepare the map, then displace against it. Make the map: use Image โธ Duplicate (Duplicate Merged Layers Only) to make a separate document at the same pixel size, desaturate it, blur slightly (a few px, to smooth noise into shape), and save it as its own .psd. Displace the overlay: select the graphic layer and run Filter โธ Distort โธ Displace, set horizontal/vertical scale (start ~10), click OK, and choose that saved .psd in the file dialog. Then shade the graphic so the folds cross it (Multiply for dark art, a clipped shading layer for light art).
โ ๏ธ Blur the map, or you displace the noise
A displacement map should carry shape, not grain. If you skip the slight blur, every fabric fiber and sensor speck becomes a tiny offset and the graphic gets a jittery, chewed edge. Smooth the map to the folds you actually want to follow.
๐ฎ Glass, Refraction & Render Passes
Glass and refraction are the same idea aimed at transparency. A glass element shows what's behind it, distorted: copy the background behind the glass, displace it or use Filter โธ Filter Gallery โธ Distort โธ Glass (the Filter Gallery needs an 8-bit document) to bend the view, and add speculars and edge highlights on Screen. Real glass is mostly its edges, highlights, and the distortion, not a gray shape.
Integrating a CGI render is where Module 1 pays off. A render doesn't arrive as one picture but as passes: a beauty pass, plus depth, ambient occlusion, specular, and shadow passes, often as 32-bit EXR. Ask for each pass as its own EXR file; Photoshop's built-in OpenEXR support does not split a multilayer EXR into separate layers (that needs a third-party plug-in). You composite them: Multiply the AO for contact shadow and Linear Dodge (Add) the specular for highlights. In 32-bit, Screen is not available, so Add is the mode for light. Working in 32-bit keeps the render's real light intact.
The depth pass drives defocus: paste it into a new alpha channel, then run Filter โธ Blur โธ Lens Blur (Lesson 2.2) with Depth Map Source set to that channel and click where focus should fall. Lens Blur may not be available in 32-bit on your version; if it's grayed out, do this step on a 16-bit copy after the pass comp.
โ Everything in this module compounds
A fully integrated render gets the edge work (2.1), the capture match โ grain, CA, DoF from its depth pass (2.2), and pass compositing in 32-bit (this lesson, and Module 1). Photoreal integration is never one trick; it's all of them, each removing one more tell.
๐ ๏ธ Guided Build: Wrap a Graphic
Grab a photo of a textured surface with clear folds or weave (fabric, a flag, a knit sweater) and a logo or text to apply.
Step 1: Make the map ยท 8 min
- With the surface photo open, choose Image โธ Duplicate (tick Duplicate Merged Layers Only if the option appears; it only shows when the document has more than one layer). Keep the copy at exactly the same pixel size as the surface document; don't crop it.
- In the copy, Image โธ Adjustments โธ Desaturate, then apply a small Gaussian Blur (2โ4 px) to keep shape and drop noise.
- Save it as its own
surface_map.psdand close it. Keep the file; Displace reads it from disk.
Step 2: Displace the graphic ยท 10 min
- Back in the surface document, place your graphic (File โธ Place Embedded), position and size it, then duplicate the layer and hide the copy: that hidden Smart Object is your editable original.
- Rasterize the visible one (Layer โธ Rasterize โธ Smart Object). Displace reads the map in the coordinates of the layer it runs on; on a plain layer that is the document canvas, the same size as your map, so the bends land on the folds. Run as a Smart Filter, the map can be fitted to the graphic's own bounds instead, and the bends drift off the folds.
- Filter โธ Distort โธ Displace, scale ~10/10, Stretch To Fit, click OK, then choose
surface_map.psd. - Adjust scale until it follows the folds without tearing: undo and reopen the dialog with Ctrl+Alt+F / Cmd+Option+F (Filter โธ Last Filter with its dialog), or rebuild from the hidden copy if you need to move the graphic.
Step 3: Shade it into the material ยท 10 min
- Dark graphic: set it to Multiply (or Linear Burn) so the fabric's shadows cross it; drop opacity slightly.
- Light graphic: keep it on Normal. Duplicate the surface layer, desaturate it, move it directly above the graphic, and clip it (Alt/โฅ-click between the layers). Set it to Multiply and use Levels to push its lit areas to white, so only the folds darken the art.
- Optionally add a mask to fade the graphic where the cloth turns steeply away.
Step 4: Add a glass or render element ยท 8 min
- For glass: copy the background behind it, Glass/Displace to distort, add Screen speculars and edge highlights.
- For a render: Multiply the AO, Add (Linear Dodge) the specular, drive DoF from the depth pass.
- Finish the whole piece with the edge work from 2.1 and a unified grain from 2.2. Save as
surfaces.psd. Module 2 deliverable complete. ๐
โ Project Completion Checklist (Module 2 deliverable)
- โ A blurred, desaturated displacement map saved as its own .psd
- โ Graphic displaced to follow the surface without tearing
- โ Graphic shaded by the folds (Multiply for dark art, a clipped shading layer for light art)
- โ A glass element (refraction + speculars) or a comped render pass
- โ Edge + capture match from 2.1/2.2 applied to the result
๐ง Now You: Solo Variation
๐ Your challenge
- Displace the same logo onto three surfaces โ fabric, skin, and cracked earth โ and tune the scale and blend for each material.
- Composite a drinking glass or bottle over a scene so the background bends through it and the rim catches a specular. Sell it with edges, not fill.
- If you have access to any render passes (even a free sample EXR), practice recombining beauty + AO + specular and driving DoF from depth.
Going further: make the displacement live. Create a new document at exactly the surface document's pixel size (File โธ New), then Shift-drag the hidden Smart Object into it; between same-size documents, Shift keeps it in the same position. Save that file as artwork.psd and File โธ Place Embedded it into the surface document: a file the same size as the canvas lands exactly aligned, so the Smart Object's bounds match the map. Now Displace can run on it as an editable Smart Filter: change the artwork inside and Photoshop re-applies the displacement (as long as the map .psd is still on disk), giving you a live mockup on a textured surface. Compare it with your rasterized version at 100% to confirm the bends land on the folds.
๐ณ Recipe Card: Surfaces & 3D
Deform, shade, refract, recombine
- Map: Image โธ Duplicate (same size) โ desaturate โ slight blur โ save as .psd
- Displace the graphic against the map (scale to taste, don't tear)
- Shade it: Multiply for dark art, a clipped Multiply shading layer for light art
- Glass: distort the background behind it (Displace or Filter Gallery โธ Glass) + Screen speculars/edges
- Render: Multiply AO, Add specular, depth โ DoF, in 32-bit
Mantra: brightness is geometry โ let the surface's own light bend and shade what you lay on it.
๐ Learning Journal
Add to your journal after this lesson:
- Key concepts you learned
- Techniques that clicked for you
- Questions or confusion points to revisit
- Ideas you want to try
- Your progress and feelings about learning this
โ๏ธ This lesson's prompt: Where have you seen a "flat decal" mockup that broke the illusion? What would a displacement map and proper shading have fixed?
๐ Module 2 Summary
๐ Key Takeaways
- A perfect mask makes a silhouette; edge work (defringe, light wrap, color bleed) makes a photograph.
- Match the plate's optical signature โ grain, noise, chromatic aberration, and depth of field.
- Displacement maps use a surface's luminance as geometry to wrap graphics onto it.
- Glass is distortion + speculars; a render is separable passes recombined with blend math in 32-bit.
๐ What You've Accomplished โ Across All of Module 2
You can now make an added element optically indistinguishable from the plate: its edge belongs, it shares the lens's signature, and it lives on real surfaces and in real dimension. This is the compositing that ads, films, and album covers are built on โ and it rests directly on the color science of Module 1.
โ Common Questions at This Stage
My displaced graphic looks warped but still "on top". Why?
You did the deform but not the shade. Displacement handles shape; you still need the surface's shadows to fall across the graphic: Multiply or Linear Burn for dark art, or a clipped Multiply shading layer for light art (Multiply can't darken white). Shape without shading is only half the illusion.
Do I need a 3D app for the render parts?
Not to composite them โ Photoshop recombines render passes beautifully with blend modes and 32-bit. You need a 3D app only to create the passes. Knowing how to comp them is the skill that makes you valuable on a CGI-heavy job.
๐ญ Looking Ahead
You've made things belong to a scene. Next you make people flawless: Module 3 โ Beauty & Product Retouching Mastery takes retouching from natural to agency-grade, and tackles the hardest surfaces of all โ chrome, glass, and liquid.
โ Before the Next Module
- Fully integrate one composite through 2.1 โ 2.2 โ 2.3.
- Wrap a graphic onto a real textured surface with a displacement map.
- Write your Learning Journal entry.
๐ Additional Resources
๐ Encouragement for the Journey
Photoreal compositing is equal parts science and patience โ a dozen small, honest fixes that each remove one tell. You now know all of them. The next time a composite "just looks off", you'll be able to name exactly why and fix it. On to the human face.