# Translucent render order of refractive materials

**URL:** <https://forums.unrealengine.com/t/translucent-render-order-of-refractive-materials/342163>\
**Category:** Rendering\
**Tags:** unreal-engine, Rendering, question\
**Created:** [December 22, 2015, 10:37am UTC](https://forums.unrealengine.com/t/translucent-render-order-of-refractive-materials/342163 "2015-12-22T10:37:34Z")\
**Posts on this page:** 10\
**Page:** 1

<div class="post-metadata">

**Author:** ![anonymous\_user\_034cecd6](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_034cecd6](https://forums.unrealengine.com/u/anonymous_user_034cecd6)\
**Post date:** [December 22, 2015, 10:37am UTC](https://forums.unrealengine.com/t/translucent-render-order-of-refractive-materials/342163/1 "2015-12-22T10:37:34Z")

</div>

Hello,  
I found a problem that the translucent-refractive material may be rendered in wrong order. The refractive object is somehow always rendered on top of the translucent but not refractive objects. Do we have any methods to avoid this ?

 ![71546-test_scene.png](https://d3kjluh73b9h9o.cloudfront.net/original/4X/a/f/e/afeef0a3df010f3b9bc10706c4d47cd6480a2f61.png)

Refractive Materials

 ![71548-refractive.jpg](https://d3kjluh73b9h9o.cloudfront.net/original/4X/d/4/a/d4a5e4975c93ccf7b585b537049ea0b8a2d10e8c.jpeg)

White Translucent Material

 ![71550-white_trans.png](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/6/d/26dfb677cba4111ac17a37cf3073d959242ccd26.png)

Black Translucent Material

 ![71551-black_trans.png](https://d3kjluh73b9h9o.cloudfront.net/original/4X/0/6/9/069cdf2bec3ad89840e97c83854e8d4f0962b925.png)

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_cc69b907](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_cc69b907](https://forums.unrealengine.com/u/anonymous_user_cc69b907)\
**Post date:** [December 23, 2015, 3:49pm UTC](https://forums.unrealengine.com/t/translucent-render-order-of-refractive-materials/342163/2 "2015-12-23T15:49:52Z")

</div>

Hello ,

This is to be expected. Translucent materials are rendered in order based on the position of the camera. We sort translucency per draw call by camera distance. Per Pixel would solve this but it’s very expensive and we do not support that yet.

If you navigate to the other side of the white cube is the non refractive material not on top of the refractive material?

-

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_034cecd6](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_034cecd6](https://forums.unrealengine.com/u/anonymous_user_034cecd6)\
**Post date:** [December 24, 2015, 2:25am UTC](https://forums.unrealengine.com/t/translucent-render-order-of-refractive-materials/342163/3 "2015-12-24T02:25:03Z")

</div>

Here is is the result of viewing these objects from the other side.  
The translucency sort priority of each object is set to 0.

 ![71779-other+side.png](https://d3kjluh73b9h9o.cloudfront.net/original/4X/6/b/9/6b90424b5da479b15527e97cbeb1f98403ab18b6.png)

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_cc69b907](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_cc69b907](https://forums.unrealengine.com/u/anonymous_user_cc69b907)\
**Post date:** [December 29, 2015, 3:51pm UTC](https://forums.unrealengine.com/t/translucent-render-order-of-refractive-materials/342163/4 "2015-12-29T15:51:14Z")

</div>

Thank you for providing the screenshot. I will test this and attempt to recreate this issue on my machine.

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_cc69b907](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_cc69b907](https://forums.unrealengine.com/u/anonymous_user_cc69b907)\
**Post date:** [January 4, 2016, 3:20pm UTC](https://forums.unrealengine.com/t/translucent-render-order-of-refractive-materials/342163/5 "2016-01-04T15:20:23Z")

</div>

Interesting, I have been unable to reproduce this issue on my machine. The refractive material does not take priority over the non refractive ones.

Front :

 ![72805-front.jpg](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/5/f/25f94d95604fdb71d159ff3cb4bae66a8e60b9b4.jpeg)

Back :

 ![72806-back.jpg](https://d3kjluh73b9h9o.cloudfront.net/original/4X/7/2/1/7212db2b585d5903e236917274e51f9416af1e9c.jpeg)

Would you provide your DxDiag ( System Specs ) so that I may investigate any hardware related issues.

-

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_034cecd6](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_034cecd6](https://forums.unrealengine.com/u/anonymous_user_034cecd6)\
**Post date:** [January 5, 2016, 11:25am UTC](https://forums.unrealengine.com/t/translucent-render-order-of-refractive-materials/342163/6 "2016-01-05T11:25:31Z")

</div>

Thank you for testing.  
my dxdiag:  
[link text][1]

and by the way, my “separate translucency” is set to false. If it is set to true, the result will be the same as you.

Do we need to turn this option on to get the correct transparency order ?

 ![72973-settings.png](https://d3kjluh73b9h9o.cloudfront.net/original/4X/5/1/9/519746c8099017af441fe17a69381e87dc2053a2.png)

---

<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:** [January 6, 2016, 5:08pm UTC](https://forums.unrealengine.com/t/translucent-render-order-of-refractive-materials/342163/7 "2016-01-06T17:08:01Z")

</div>

Hello -

I have entered a bug report for this particular issue as UE-24998 and will keep you informed here as we investigate a solution to this issue. In the meantime as a workaround you can leave separate Translucency on and in the materials remove separate transparency per material which would allow you to keep the sorting.

Thank You

Eric Ketchum

---

<div class="post-metadata">

**Author:** ![MaverickAl](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@MaverickAl](https://forums.unrealengine.com/u/MaverickAl)\
**Post date:** [September 2, 2019, 6:30am UTC](https://forums.unrealengine.com/t/translucent-render-order-of-refractive-materials/342163/8 "2019-09-02T06:30:05Z")

</div>

I noticed that this bug is now listed as won’t fix; although I can’t see any explanation on the bug page.

Since the most common use case for refraction is on waters surface (which if anything you would want rendering before any other transparency) I’m assuming there must be some work around?

---

<div class="post-metadata">

**Author:** ![JDARRAS](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/jdarras/32/619913_2.png) [@JDARRAS](https://forums.unrealengine.com/u/JDARRAS)\
**Post date:** [April 23, 2022, 4:30pm UTC](https://forums.unrealengine.com/t/translucent-render-order-of-refractive-materials/342163/9 "2022-04-23T16:30:32Z")

</div>

Thanks a lot for “translucency sort priority” I didn’t know and this fix my problem !

---

<div class="post-metadata">

**Author:** ![John\_Alcatraz](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@John\_Alcatraz](https://forums.unrealengine.com/u/John_Alcatraz)\
**Post date:** [August 8, 2024, 3:51am UTC](https://forums.unrealengine.com/t/translucent-render-order-of-refractive-materials/342163/10 "2024-08-08T03:51:02Z")

</div>

Is there a fix for this by now?
