# Translucency Clipping Problem with Opaque Objects

**URL:** <https://forums.unrealengine.com/t/translucency-clipping-problem-with-opaque-objects/295773>\
**Category:** Rendering\
**Tags:** transparent, refraction, translucent, opacity, unreal-engine, question\
**Created:** [October 10, 2014, 4:45am UTC](https://forums.unrealengine.com/t/translucency-clipping-problem-with-opaque-objects/295773 "2014-10-10T04:45:24Z")\
**Posts on this page:** 16\
**Page:** 1

<div class="post-metadata">

**Author:** ![ue24acct](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@ue24acct](https://forums.unrealengine.com/u/ue24acct)\
**Post date:** [October 10, 2014, 4:45am UTC](https://forums.unrealengine.com/t/translucency-clipping-problem-with-opaque-objects/295773/1 "2014-10-10T04:45:24Z")

</div>

We’re having a problem with the material opacity blend mode. In this simple test case, the opacity node is set to 1.0, so the material should be fully opaque, yet it appears partially transparent. My guess is some z-buffer clipping issue here. First came upon this when the refraction node wasn’t producing any refractions. This particular setup is running Intel HD Graphics 4600 and a Geforce 840M.

 ![17541-transl_1.jpg](https://d3kjluh73b9h9o.cloudfront.net/original/4X/b/b/f/bbf1d2a22bff27082b4e23fe296f2f5dbee1106e.jpeg)

 ![17542-transl_2.jpg](https://d3kjluh73b9h9o.cloudfront.net/original/4X/5/e/8/5e8986f88fe745dc6571649780ddb28e1c7ef503.jpeg)

---

<div class="post-metadata">

**Author:** ![Lovecraft\_K](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Lovecraft\_K](https://forums.unrealengine.com/u/Lovecraft_K)\
**Post date:** [October 10, 2014, 2:19pm UTC](https://forums.unrealengine.com/t/translucency-clipping-problem-with-opaque-objects/295773/2 "2014-10-10T14:19:03Z")

</div>

Hey ue24acct -

Have your tired the same material on a simple box mesh? That particular mesh has a mesh which is modeled fully outside and inside so the material translucency does have some conflicts with with Z sorting. Most meshes should not be constructed in this fashion for a transparent object.

Thank You

Eric Ketchum

---

<div class="post-metadata">

**Author:** ![ue24acct](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@ue24acct](https://forums.unrealengine.com/u/ue24acct)\
**Post date:** [October 10, 2014, 4:04pm UTC](https://forums.unrealengine.com/t/translucency-clipping-problem-with-opaque-objects/295773/3 "2014-10-10T16:04:21Z")

</div>

Not sure why the system won’t let me post a comment with images attaches to it, but here’s the album on imgur - see [Screenshots](http://imgur.com/a/aNC3u)

So, it is hard to visualize this error with a simple box mesh since there are no forward-facing surfaces behind other forward-facing surfaces. I’ve replaced the mesh with a box mesh from starter content and applied a normal map for better visualization. As seen in screenshots 1 and 2, it still appears partially translucent and you can still see the world lines through the mesh, even when it should be fully opaque.

For better visualization I’ve also used the half-torus mesh from starter content and you can see in screenshots 3 and 4 it having same clipping trouble as the initial mesh.

In screenshots 5 & 6, you can see how the half-torus looks with the opacity at 0.0 and refraction index of glass at 1.52. It should be creating refracting distortions, but it appears completely see-through.

---

<div class="post-metadata">

**Author:** ![ue24acct](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@ue24acct](https://forums.unrealengine.com/u/ue24acct)\
**Post date:** [October 10, 2014, 7:06pm UTC](https://forums.unrealengine.com/t/translucency-clipping-problem-with-opaque-objects/295773/4 "2014-10-10T19:06:42Z")

</div>

An update: When the game is built and launched externally from the editor via the Launch option, the translucent material with opacity set to 1.0 is still rendered as partially see-through, like it is in the editor.

Though when the opacity is turned to 0.0 and a refraction constant of 1.52 is plugged in, the material does appears refractive, but there is still some issues with the front-facing faces sorting, as seen in the half-torus on the left in the second screenshot attached to this comment.

 ![17603-transl_10_ingame_transparent_1.52_refractive.jpg](https://d3kjluh73b9h9o.cloudfront.net/original/4X/c/2/6/c26233e58367b01c50bf5661973cd56f33de3d3c.jpeg)

---

<div class="post-metadata">

**Author:** ![Lovecraft\_K](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Lovecraft\_K](https://forums.unrealengine.com/u/Lovecraft_K)\
**Post date:** [October 10, 2014, 7:19pm UTC](https://forums.unrealengine.com/t/translucency-clipping-problem-with-opaque-objects/295773/5 "2014-10-10T19:19:17Z")

</div>

Hey ue24acct-

Try making sure that have disabled Enable Separate Translucency in the Material Attributes as well as setting the Translucency Lighting Mode to TLM\_Surface. Let me know if you are still having the opaque issue, realizing that Translucent Materials will never render exactly like Opaque Materials.

Thank You

Eric Ketchum

---

<div class="post-metadata">

**Author:** ![ue24acct](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@ue24acct](https://forums.unrealengine.com/u/ue24acct)\
**Post date:** [October 10, 2014, 7:59pm UTC](https://forums.unrealengine.com/t/translucency-clipping-problem-with-opaque-objects/295773/6 "2014-10-10T19:59:13Z")

</div>

TLM\_Surface setting has been the used from the start. When Separate Translucency is turned off it doesn’t change how objects with opacity 0.0 appear in-game, but when opacity is turned up to 1.0, all kinds of weird refractions start happening, see screenshot attached to this comment.

Are you saying that when materials are rendered with blend mode Translucent, even though they have set opacity of 1.0 (fully opaque), they are never actually fully opaque and are partially see-through by design? If so, then the z-sorting problem of where parts of opaque objects are rendered on top of each other isn’t a bug per se.

However, for objects with fully translucent materials (opacity set to 0.0), refractions should still be showing up in the editor as opposed to them only showing up when the game is launched, correct?

 ![17605-transl_11_ingame_opaque_no_separate_translucency.jpg](https://d3kjluh73b9h9o.cloudfront.net/original/4X/8/6/f/86f275ab623d7e66494eea752b804198be70fd74.jpeg)

---

<div class="post-metadata">

**Author:** ![Lovecraft\_K](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Lovecraft\_K](https://forums.unrealengine.com/u/Lovecraft_K)\
**Post date:** [October 10, 2014, 8:44pm UTC](https://forums.unrealengine.com/t/translucency-clipping-problem-with-opaque-objects/295773/7 "2014-10-10T20:44:54Z")

</div>

Hey ue24acct-

Thanks for your patience and helping me track this down. The bug exists in the Z Render order on meshes which wrap around each other, Convex Meshes. When opacity is 1, the mesh will want to render the back faces as the front faces along the overlapping convex curve. From your earlier pictures you can see that the Opacity=1 Translucent Cube is rendered correctly Opaque (notwithstanding seeing the Grid lines through it which is a known editor bug and not involved with the scene render itself.) You should disregard my earlier statement about the Disable Separate Translucency, I was thinking the issue lied in a different direction. I have entered the bug report and will keep you up to date as I know more.

Thank You

Eric Ketchum

---

<div class="post-metadata">

**Author:** ![rosenand](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/rosenand/32/1141324_2.png) [@rosenand](https://forums.unrealengine.com/u/rosenand)\
**Post date:** [March 26, 2016, 5:12pm UTC](https://forums.unrealengine.com/t/translucency-clipping-problem-with-opaque-objects/295773/8 "2016-03-26T17:12:50Z")

</div>

Hello, it seems this hasn’t been solved yet. I’m making a subway entrance, part concrete/metal and part glass. Wanted to do this with a single material, set to translucent and just masked opacity as white in the concrete/metal parts. But I narrowed it down to exactly what has been mentioned in this discussion: a simple SM\_DoorFrame mesh from the starter content, with a translucent material and opacity simply set to 1, has back faces rendered in front of front faces (only viewed from one side though).

I looked into layered materials, but it seems you can’t blend two materials of different types (one opaque and one translucent).

Is using a separate mesh for the glass parts the only workaround? Thank you.

---

<div class="post-metadata">

**Author:** ![tangwilliam](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@tangwilliam](https://forums.unrealengine.com/u/tangwilliam)\
**Post date:** [November 9, 2016, 8:43am UTC](https://forums.unrealengine.com/t/translucency-clipping-problem-with-opaque-objects/295773/9 "2016-11-09T08:43:00Z")

</div>

Hi, I came into the same problem , have you figured this out ?

---

<div class="post-metadata">

**Author:** ![ZEROONESTUDIO](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@ZEROONESTUDIO](https://forums.unrealengine.com/u/ZEROONESTUDIO)\
**Post date:** [November 14, 2016, 6:50am UTC](https://forums.unrealengine.com/t/translucency-clipping-problem-with-opaque-objects/295773/10 "2016-11-14T06:50:44Z")

</div>

Hi, I am also seeing the same behaviour in 4.13.2

Any idea what the bug tracking number is on this so I can keep up to date?

Thanks,  
Brad

---

<div class="post-metadata">

**Author:** ![Kelheor](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Kelheor](https://forums.unrealengine.com/u/Kelheor)\
**Post date:** [December 4, 2017, 3:48am UTC](https://forums.unrealengine.com/t/translucency-clipping-problem-with-opaque-objects/295773/11 "2017-12-04T03:48:08Z")

</div>

Still have this issue in UE 4.18.1

---

<div class="post-metadata">

**Author:** ![Louis\_Huss](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Louis\_Huss](https://forums.unrealengine.com/u/Louis_Huss)\
**Post date:** [December 9, 2017, 6:08pm UTC](https://forums.unrealengine.com/t/translucency-clipping-problem-with-opaque-objects/295773/12 "2017-12-09T18:08:09Z")

</div>

Hi, if anyone still have this issue, here is a workaround for it: [UE4: How to fix translucent materials (dithered opacity) - YouTube](https://www.youtube.com/watch?v=ieHpTG_P8Q0)

The only issue with this is that the Opacity can only be 0 or 1, but with a little bit of randomization it looks relatively good.

---

<div class="post-metadata">

**Author:** ![GeneralTullius](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/generaltullius/32/264919_2.png) [@GeneralTullius](https://forums.unrealengine.com/u/GeneralTullius)\
**Post date:** [March 13, 2018, 9:38am UTC](https://forums.unrealengine.com/t/translucency-clipping-problem-with-opaque-objects/295773/13 "2018-03-13T09:38:10Z")

</div>

Have you tried this?

> **[Custom Depth in Unreal Engine 4](https://www.tomlooman.com/the-many-uses-of-custom-depth-in-unreal-4/)**
>
> Unreal Engine 4 introduced a new depth buffer along with their PBR rendering system. It’s called “Custom Depth” and can be used for effects like the selection outline that is built-in the Editor, rendering of...

**Culling Inner Triangle** section

Is that what you are looking for? Although it’s a workaround, it worked great in my case. Hope this helps.

---

<div class="post-metadata">

**Author:** ![Kelheor](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Kelheor](https://forums.unrealengine.com/u/Kelheor)\
**Post date:** [March 13, 2018, 9:52am UTC](https://forums.unrealengine.com/t/translucency-clipping-problem-with-opaque-objects/295773/14 "2018-03-13T09:52:46Z")

</div>

I read about this before posting a comment here. No, it’s not what I’m looking for.  
But I solved this problem by swapping material to non-glass, but similar looking, after I’m changing glass opacity from 0.05 to 1.

---

<div class="post-metadata">

**Author:** ![Tamarackk](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Tamarackk](https://forums.unrealengine.com/u/Tamarackk)\
**Post date:** [December 10, 2018, 7:36pm UTC](https://forums.unrealengine.com/t/translucency-clipping-problem-with-opaque-objects/295773/15 "2018-12-10T19:36:16Z")

</div>

![261877-trans-lerp-a.jpg](https://d3kjluh73b9h9o.cloudfront.net/original/4X/5/b/5/5b5b5c3e5224eec30519e31ad74c03528b96c8ce.jpeg)

I’m using an Instance of the Automotive Glass material from Epic games.  
looks like for me the culprits are the Transparency Lerp A and Lerp B.  
I had to turn them both to 0 to get rid of the see through artifacts.

 ![261879-no-more-see-through.jpg](https://d3kjluh73b9h9o.cloudfront.net/original/4X/3/5/c/35c1dd9b27443e507dbe608077e2300cadce6004.jpeg)

---

<div class="post-metadata">

**Author:** ![PDubulous](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/pdubulous/32/1194655_2.png) [@PDubulous](https://forums.unrealengine.com/u/PDubulous)\
**Post date:** [August 3, 2023, 2:49pm UTC](https://forums.unrealengine.com/t/translucency-clipping-problem-with-opaque-objects/295773/16 "2023-08-03T14:49:11Z")

</div>

This is the answer for this I think:

 ![image](https://d3kjluh73b9h9o.cloudfront.net/original/4X/c/2/6/c2638268b367ed0cb52d7da0ccf3eebca7ea23c4.jpeg)
