Translucent render order of refractive materials

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 ?

Refractive Materials

White Translucent Material

Black Translucent Material

1 Like

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?

1 Like

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

1 Like

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

1 Like

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 :

Back :

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

1 Like

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 ?

1 Like

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

1 Like

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?

1 Like

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

1 Like