# Translucent Materials behind Other Translucent Materials Ignore Refraction

**URL:** <https://forums.unrealengine.com/t/translucent-materials-behind-other-translucent-materials-ignore-refraction/1782432>\
**Category:** Rendering\
**Tags:** refraction, translucency, translucent, unreal-engine, Substrate, Lumen, question\
**Created:** [April 1, 2024, 8:19pm UTC](https://forums.unrealengine.com/t/translucent-materials-behind-other-translucent-materials-ignore-refraction/1782432 "2024-04-01T20:19:59Z")\
**Posts on this page:** 1\
**Showing post:** 8

<div class="post-metadata">

**Author:** ![BananableOffense](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@BananableOffense](https://forums.unrealengine.com/u/BananableOffense)\
**Post date:** [December 25, 2024, 7:04pm UTC](https://forums.unrealengine.com/t/translucent-materials-behind-other-translucent-materials-ignore-refraction/1782432/8 "2024-12-25T19:04:48Z")

</div>

The most common way to handle refraction besides screen space is cubemapping.

> [@Is there a way to "bake" reflections for the 360 Panoramic Capture? Any ways to have the reflections on the render?](https://forums.unrealengine.com/t/is-there-a-way-to-bake-reflections-for-the-360-panoramic-capture-any-ways-to-have-the-reflections-on-the-render/528603/8):
>
> As other suggested you can use a capture component to generate a cube map. This can be very high quality, and then saved as a texture. Then you would use the reflection vector as the coordinates for the Cubemap sample within your material. This cubemap can also be used reused to make a fake refraction/transparency. Here is an example material I made that uses a cubemap for both reflections and transparency. Notice the roughness is set to 1 yet it still appear to have a sharp reflecti…

Here’s an example I made a while back. The biggest drawback to this method is that it is very expensive to update in real time. Static cubemapped refraction is very cheap though - far cheaper than screen space refraction as it does not even rely on translucency at all. Because of this, the technique is very common for ages. While it is a very old technique at this point, it had a surge of popularity recently due to being used in the liquid/bottle shading in Half Life Alyx.

What artists realized is that while people expect to see refraction they don’t actually know what physically accurate refraction looks like. In other words, avoiding artifacts is more important that actually having physically correct bending.

---

_[View the full topic](https://forums.unrealengine.com/t/translucent-materials-behind-other-translucent-materials-ignore-refraction/1782432)._
