Why Layered PNG Foliage Turns Black in Blender Cycles: Checking Transparent Bounces
If PNG leaves look correct individually but develop black patches when stacked, check Render Properties → Light Paths → Max Bounces → Transparent. Raise that value and render the same area again. Cycles controls transparent passes separately from other bounces, so increasing Total or Transmission alone does not raise this limit. Blender Manual: Light Paths
This guide helps you diagnose overlapping foliage cards: flat meshes carrying leaf images with transparent backgrounds. The goal is to recover the intended gaps between leaves while keeping useful shading and choosing a practical transparent-bounce limit. The interface references below follow Blender’s 4.5 LTS documentation.
Why do transparent foliage cards need a bounce budget?
A transparent pixel in a leaf image does not remove the underlying polygon. When the material evaluates that pixel as transparent, Cycles must continue tracing through the surface. Blender documents that each transparency step still requires shader evaluation and another ray trace, even though the ray continues without changing direction. Blender Manual: Light Paths
Imagine looking through a small gap in a fictional potted fern. The camera may see no green leaf at that point, yet its viewing ray can intersect the transparent margins of several rectangular cards before reaching the backdrop. That overlap makes the transparent-pass budget relevant.
The useful distinction is between the number of objects in the scene and the number of transparent surfaces along a particular path. A large arrangement with little overlap can behave differently from a compact cluster of oversized cards. This follows from the manual’s description of transparency being evaluated at each surface intersection. Blender Manual: Light Paths
Which visible symptoms make transparent bounces worth checking?
Start by comparing an isolated card with the dense part of your arrangement. Treat the following observations as diagnostic clues rather than proof of a single cause.
| What you see | First check |
|---|---|
| One card looks correct, but dense overlaps become black | Increase Transparent and compare the same crop |
| An isolated card shows a solid rectangle around the leaf | Check the image’s alpha and its shader connection |
| The gaps work, but the visible leaf surface is dark | Inspect the leaf material and lighting separately |
| A larger transparent limit makes no visible difference | Stop increasing it and isolate the material setup |
Choose a gap where you know what should appear behind the foliage: a pale backdrop, a blue planter, or another clearly identifiable object. A vague dark area deep inside a plant is a poor test because it may contain ordinary leaf shading.
Record the current setting before changing it. Keep the camera, lighting, material, exposure, and render settings fixed during the comparison. That makes the change in the overlap region easier to interpret.
How do you test the Transparent setting in Cycles?
Use a controlled comparison in the actual scene before rebuilding the foliage.
- Confirm that the scene’s render engine is
Cycles. - Open
Render Properties → Light Paths → Max Bounces. - Record the current
Transparentvalue and render the affected area. - Increase only
Transparent. For example, if your scene currently uses8, try16, then32if necessary. - Compare the same gaps and card boundaries after each render.
- If the artifact clears, test a further increase to see whether the result remains visually stable.
The values above are illustrative test steps, not universal recommendations or claims about your scene’s defaults. Blender defines Transparent as the maximum number of transparency bounces and explicitly separates it from the other bounce limits. Blender Manual: Light Paths
A useful positive result is specific: a black overlap patch disappears and reveals the expected backdrop or object without changing the leaf texture. That strongly supports a transparent-depth limitation in the tested region. If only some patches clear, investigate the remaining areas individually; a scene can contain more than one problem.
If successive increases produce no change, return to the recorded value while checking the material. Continuing to raise a limit without a visible response gives you little diagnostic information.
Is the PNG alpha actually controlling the material?
Test one foliage card against a contrasting background. For a simple Principled material, use these connections:
Image Texture: Color→Principled BSDF: Base ColorImage Texture: Alpha→Principled BSDF: AlphaPrincipled BSDF: BSDF→Material Output: Surface
Blender documents the Image Texture node’s Alpha output as the image’s alpha channel. The Principled shader’s Alpha input controls surface transparency, with 1.0 fully opaque, and is normally connected to that image output. A color connection by itself does not establish this alpha connection. Blender Manual: Image Texture Node, Blender Manual: Principled BSDF
Check that the image contains the intended alpha channel and that the card’s UV mapping places the leaf correctly. The Image Texture node uses the active UV map when its Vector input is unconnected. Blender Manual: Image Texture Node
If your existing material uses a separate Transparent BSDF, inspect its color before replacing the whole node network. Blender specifies that only a pure white Transparent shader is completely transparent. A tinted or gray transparent branch can therefore alter what passes through it. Blender Manual: Transparent BSDF
Get the isolated card working first. Then restore the overlapping cards and repeat the bounce comparison. This sequence separates a material problem that exists on every card from a problem that emerges with depth.
Why is Transmission a different setting?
PNG cutouts need the background to remain visible through empty portions of a card. Blender’s Transparent BSDF passes rays straight through without refraction. Refractive transmission changes the light’s direction and receives different treatment in Cycles. Blender Manual: Transparent BSDF
The Principled shader also separates Alpha from its transmission component, which includes specular reflection and refraction. For diagnosing a leaf cutout, follow the image alpha into surface transparency and test the Transparent limit. Changing transmission introduces another material behavior into the comparison. Blender Manual: Principled BSDF
A useful visual target is an undistorted backdrop through the fully transparent margin, with the leaf itself retaining its intended color and shading. Judge those two regions separately.
How can you reduce unnecessary transparent overlap?
Once a higher limit resolves the tested artifact, inspect the card geometry. Because each transparent intersection has a rendering cost, reducing unnecessary intersections is a reasonable optimization to test. Blender documents the per-step shader and tracing work; the following geometry choices are practical deductions from that behavior. Blender Manual: Light Paths
- Trim large empty margins from card meshes while preserving UV placement and the complete leaf silhouette.
- Inspect for unintended duplicate cards occupying the same region.
- Reduce redundant layers where they add no visible detail from the required views.
- Keep enough geometry around soft image edges to avoid clipping them.
For example, a long leaf on a wide square card may leave substantial transparent space on both sides. A narrower mesh can preserve the visible leaf while giving nearby viewing paths fewer empty surfaces to intersect. This is an illustrative design choice, not a measured performance result.
Compare render time and appearance in your own scene after any geometry change. Choose a limit that produces a stable result across the required views; a setting that works for one sparse angle may need further checking in a denser view.
How do you verify the intended final result?
Return to the complete arrangement and render the densest overlap from the intended camera. If the camera or foliage moves, inspect additional frames where the cards overlap more heavily.
Check three visible outcomes: the expected background appears through empty gaps, leaf edges remain complete, and the visible leaves retain their intended shading. Do not judge success merely by whether the whole plant looks brighter.
Finally, compare the chosen Transparent value with one higher test value. If the relevant regions remain stable, you have useful evidence for that setting in those views. If they change again, investigate the changing region before settling on the limit.
The practical fix is a short diagnostic loop: verify one card’s alpha, test transparent depth in a dense overlap, and confirm the recovered gaps in the finished composition. That gives you a clear reason for the setting you keep and a repeatable check when the foliage arrangement changes.