# Ray-tracing inconsistancies in Matrix demo

**URL:** <https://forums.unrealengine.com/t/ray-tracing-inconsistancies-in-matrix-demo/555010>\
**Category:** Rendering\
**Tags:** Shadows, reflection, Path-Tracer, Ray-Tracing, unreal-engine, Rendering\
**Created:** [May 11, 2022, 11:30pm UTC](https://forums.unrealengine.com/t/ray-tracing-inconsistancies-in-matrix-demo/555010 "2022-05-11T23:30:43Z")\
**Posts on this page:** 10\
**Page:** 1

<div class="post-metadata">

**Author:** ![jblackwell](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@jblackwell](https://forums.unrealengine.com/u/jblackwell)\
**Post date:** [May 11, 2022, 11:30pm UTC](https://forums.unrealengine.com/t/ray-tracing-inconsistancies-in-matrix-demo/555010/1 "2022-05-11T23:30:43Z")

</div>

I’ve been experimenting with the matrix demo for a few weeks now, and I’m noticing some strange limitations and behaviors in regards to ray-tracing. Primarily, any translucent surfaces, and weirdly, the skydome, dissapear when the path-tracer is on. Ray-tracing is enabled in checkboxes in all the offending items, and even a custom glass material I made in the project had the same issue. Does anyone know why they just dissapear in RT mode entirely? Some project setting or optimization I’m unaware of?

---

<div class="post-metadata">

**Author:** ![RoyalPhoenixTM](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/royalphoenixtm/32/1123575_2.png) [@RoyalPhoenixTM](https://forums.unrealengine.com/u/RoyalPhoenixTM)\
**Post date:** [May 12, 2022, 1:25am UTC](https://forums.unrealengine.com/t/ray-tracing-inconsistancies-in-matrix-demo/555010/2 "2022-05-12T01:25:19Z")

</div>

Lumen is hybrid based Ray-Tracing. Meaning it uses RT and SSR at the same time.

---

<div class="post-metadata">

**Author:** ![jblackwell](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@jblackwell](https://forums.unrealengine.com/u/jblackwell)\
**Post date:** [May 12, 2022, 3:39pm UTC](https://forums.unrealengine.com/t/ray-tracing-inconsistancies-in-matrix-demo/555010/3 "2022-05-12T15:39:19Z")

</div>

This is true, lumen uses multiple light-transport techniques to get final image. But it doesn’t explain how certain materials are visible in some viewmodes and not in others, which is throwing me for a loop.

---

<div class="post-metadata">

**Author:** ![CROSE48](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/crose48/32/778864_2.png) [@CROSE48](https://forums.unrealengine.com/u/CROSE48)\
**Post date:** [May 13, 2022, 7:56am UTC](https://forums.unrealengine.com/t/ray-tracing-inconsistancies-in-matrix-demo/555010/4 "2022-05-13T07:56:17Z")

</div>

There’s plenty of information in the documentation about these limitations of the Path Tracer: [Path Tracer in Unreal Engine | Unreal Engine Documentation](https://docs.unrealengine.com/5.0/en-US/path-tracer-in-unreal-engine/)

---

<div class="post-metadata">

**Author:** ![jblackwell](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@jblackwell](https://forums.unrealengine.com/u/jblackwell)\
**Post date:** [May 13, 2022, 8:27pm UTC](https://forums.unrealengine.com/t/ray-tracing-inconsistancies-in-matrix-demo/555010/5 "2022-05-13T20:27:17Z")

</div>

This is also true, yes. However, translucency is fully supported in the path-tracer, even more complex blend modes like thin translucent. It’s not a Nanite problem because translucency doesn’t work on nanite to begin with. It’s also not a culling problem because it still applies to meshes I’ve told it to not cull. I can’t figure out if it might be a CVar I can’t find, but I simply don’t know at the moment.

---

<div class="post-metadata">

**Author:** ![CROSE48](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/crose48/32/778864_2.png) [@CROSE48](https://forums.unrealengine.com/u/CROSE48)\
**Post date:** [May 16, 2022, 7:38am UTC](https://forums.unrealengine.com/t/ray-tracing-inconsistancies-in-matrix-demo/555010/6 "2022-05-16T07:38:50Z")

</div>

Read the section " Skylighting with the Path Tracer". Requirements for a material with “Is Sky” should be applied and the “Real-time capture” mode also needs to be enabled for the sky to appear in path tracing. This may also cure your glass issue. The CVar “r.PathTracing.VisibleLights 2” should help.

---

<div class="post-metadata">

**Author:** ![jblackwell](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@jblackwell](https://forums.unrealengine.com/u/jblackwell)\
**Post date:** [May 16, 2022, 6:15pm UTC](https://forums.unrealengine.com/t/ray-tracing-inconsistancies-in-matrix-demo/555010/7 "2022-05-16T18:15:15Z")

</div>

I missed that, thanks for the advice. Visible lights made the cubemap lighting the scene visible to the path-tracer, but not the sky material itself (it might not be possible to have both at once given the path-tracer’s pipeline). It unfortunately didn’t clear the glass issue, they still remain invisible to the path-tracer and any RT effects in general. Working on it though.

---

<div class="post-metadata">

**Author:** ![TomGoughHutch](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@TomGoughHutch](https://forums.unrealengine.com/u/TomGoughHutch)\
**Post date:** [July 21, 2023, 6:59am UTC](https://forums.unrealengine.com/t/ray-tracing-inconsistancies-in-matrix-demo/555010/8 "2023-07-21T06:59:25Z")

</div>

Hey sorry to hijack this thread but did anyone ever figure out how to get the glass working? Having the exact same issue!  
Thanks

---

<div class="post-metadata">

**Author:** ![jblackwell](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@jblackwell](https://forums.unrealengine.com/u/jblackwell)\
**Post date:** [July 21, 2023, 3:02pm UTC](https://forums.unrealengine.com/t/ray-tracing-inconsistancies-in-matrix-demo/555010/9 "2023-07-21T15:02:29Z")

</div>

So far, no luck. I’ve tried a variety of CVars, other rendering settings and variables, and I haven’t gotten any luck. The last step may be to check out if there are any specific scripts/configs the matrix demo runs to change the renderer, but that’s all I can think of.

---

<div class="post-metadata">

**Author:** ![TomGoughHutch](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@TomGoughHutch](https://forums.unrealengine.com/u/TomGoughHutch)\
**Post date:** [July 22, 2023, 3:17pm UTC](https://forums.unrealengine.com/t/ray-tracing-inconsistancies-in-matrix-demo/555010/10 "2023-07-22T15:17:20Z")

</div>

Yeah it’s super annoying just such a small little thing that makes rendering anything awkward!
