# Geometry Collections and Distance-Fields / Ray Tracing

**URL:** <https://forums.unrealengine.com/t/geometry-collections-and-distance-fields-ray-tracing/869546>\
**Category:** Rendering\
**Tags:** Geometry-Cache, distance-fields, unreal-engine, Destructible-Mesh, fracture, Path-Tracing\
**Created:** [April 7, 2023, 6:53am UTC](https://forums.unrealengine.com/t/geometry-collections-and-distance-fields-ray-tracing/869546 "2023-04-07T06:53:42Z")\
**Posts on this page:** 13\
**Page:** 1

<div class="post-metadata">

**Author:** ![Loux\_xavier](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/loux_xavier/32/1201519_2.png) [@Loux\_xavier](https://forums.unrealengine.com/u/Loux_xavier)\
**Post date:** [April 7, 2023, 6:53am UTC](https://forums.unrealengine.com/t/geometry-collections-and-distance-fields-ray-tracing/869546/1 "2023-04-07T06:53:43Z")

</div>

Good morning,  
I use the Unreal Engine destruction system. But I have problems with rendering Geometry Collections.  
Currently it is not possible to generate Distance-Fields for Geometry Collections so rendering with Lumen is bad.

 ![image](https://d3kjluh73b9h9o.cloudfront.net/original/4X/9/2/8/928bd3d5e98c319bbaadbfd02bee07d557a6a64d.jpeg)

There is also a problem with Path Tracing. All Geometry Collections in my scene become invisible in Path Tracing rendering.  
I can’t find any information about its limitations in the Unreal Engine docs.

About the Distance-Fields since each small element of the hierarchy are static I imagine it should be possible to manage them as Static Meshes?

 ![image](https://d3kjluh73b9h9o.cloudfront.net/original/4X/d/5/4/d54867a24cea135bb206545dea82ccb06906638f.jpeg)  
I imagine for game performance it’s not great but it would be nice to have an option for animations or cinematics.

Small note: I notice that for Skeletal Meshes the problem of Distance-Fields can be corrected by using Hardware Ray Tracing. This does not work with Geometry Collections.  
Also the Geometry Collections have no shadows at all if Ray Traced Shadows is active.  
I think it’s related to the Path Tracing issue.

What do you think and do you have any techniques to work around this problem?

-Bleu

---

<div class="post-metadata">

**Author:** ![Arkiras](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/arkiras/32/1008648_2.png) [@Arkiras](https://forums.unrealengine.com/u/Arkiras)\
**Post date:** [April 7, 2023, 4:20pm UTC](https://forums.unrealengine.com/t/geometry-collections-and-distance-fields-ray-tracing/869546/2 "2023-04-07T16:20:32Z")

</div>

> [@Loux\_xavier](#):
>
> There is also a problem with Path Tracing. All Geometry Collections in my scene become invisible in Path Tracing rendering.

This _may_ be because geometry collections are hidden from hardware raytracing by default. You can try enabling it with this cvar: `r.RayTracing.Geometry.GeometryCollection 1`

**Edit** : If you are on 5.5 then you will also need to ensure that you disable Nanite on your geometry collections, as the fallback geometry (which is used for hw raytracing and pathtracing) is broken in 5.5.

---

<div class="post-metadata">

**Author:** ![Loux\_xavier](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/loux_xavier/32/1201519_2.png) [@Loux\_xavier](https://forums.unrealengine.com/u/Loux_xavier)\
**Post date:** [April 7, 2023, 4:24pm UTC](https://forums.unrealengine.com/t/geometry-collections-and-distance-fields-ray-tracing/869546/3 "2023-04-07T16:24:30Z")

</div>

Wow, thank you so much! 😁

---

<div class="post-metadata">

**Author:** ![Arkiras](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/arkiras/32/1008648_2.png) [@Arkiras](https://forums.unrealengine.com/u/Arkiras)\
**Post date:** [April 7, 2023, 4:29pm UTC](https://forums.unrealengine.com/t/geometry-collections-and-distance-fields-ray-tracing/869546/4 "2023-04-07T16:29:34Z")

</div>

Just keep in mind, they’re hidden from the raytracing view by default because the raytracing accelleration structure needs to be rebuilt every frame for them which is extremely expensive. Probably fine for cinematics though.

Regarding mesh distance fields, I asked about this in early access and this is the response i got:

> [@Lumen GI and Reflections feedback thread](https://forums.unrealengine.com/t/lumen-gi-and-reflections-feedback-thread/501108/10):
>
> > I would really like to know if there are any plans to improve support for chaos geometry collections, currently they don’t appear to generate distance fields and as a result have no representation in the Lumen scene.
> 
> We’d like to implement distance fields for Geometry Collections but it would be pretty far down the priority list. Hardware Ray Tracing already supports Geometry Collections, however as a dynamically deforming mesh, it will cause an acceleration structure rebuild every frame so you’ll have to watch out for the performance cost.

---

<div class="post-metadata">

**Author:** ![Loux\_xavier](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/loux_xavier/32/1201519_2.png) [@Loux\_xavier](https://forums.unrealengine.com/u/Loux_xavier)\
**Post date:** [April 7, 2023, 4:56pm UTC](https://forums.unrealengine.com/t/geometry-collections-and-distance-fields-ray-tracing/869546/5 "2023-04-07T16:56:12Z")

</div>

I understand better why, thanks. I hope this will move up the priority list.

---

<div class="post-metadata">

**Author:** ![PerryDawg32](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@PerryDawg32](https://forums.unrealengine.com/u/PerryDawg32)\
**Post date:** [May 31, 2023, 5:40pm UTC](https://forums.unrealengine.com/t/geometry-collections-and-distance-fields-ray-tracing/869546/6 "2023-05-31T17:40:55Z")

</div>

Thanks. This just saved my music video. Cheers!

---

<div class="post-metadata">

**Author:** ![Crackbundle](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Crackbundle](https://forums.unrealengine.com/u/Crackbundle)\
**Post date:** [August 29, 2024, 6:24pm UTC](https://forums.unrealengine.com/t/geometry-collections-and-distance-fields-ray-tracing/869546/7 "2024-08-29T18:24:38Z")

</div>

> [@Arkiras](#):
>
> r.RayTracing.Geometry.GeometryCollection 1

DUDE! You’re the man!!! I was pulling my hair out trying to figure out why my chaos geometry collection wasn’t showing up in path tracer. I was so frustrated lol. Thank you bro!

---

<div class="post-metadata">

**Author:** ![bashfulfruits](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@bashfulfruits](https://forums.unrealengine.com/u/bashfulfruits)\
**Post date:** [October 28, 2024, 9:53pm UTC](https://forums.unrealengine.com/t/geometry-collections-and-distance-fields-ray-tracing/869546/8 "2024-10-28T21:53:43Z")

</div>

Did the normal maps start flickering dark self contact shadow artifacts after the geometry collection is fractured? In lit mode it’s fine but not in path tracing and I used the Ray tracing CVAR so it’s visible but with shadow artifacts, but it’s only once I turn off all shadows being casted that the artifacting goes away, like it’s only taking into account the original normals even after using the recompute normals utility in the fracture mode.

---

<div class="post-metadata">

**Author:** ![Jacken85](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Jacken85](https://forums.unrealengine.com/u/Jacken85)\
**Post date:** [February 26, 2025, 2:26am UTC](https://forums.unrealengine.com/t/geometry-collections-and-distance-fields-ray-tracing/869546/9 "2025-02-26T02:26:44Z")

</div>

Have you found a solution to this? I encountered the same issue where fractured geometry turns black at specific angles in the path tracer.

---

<div class="post-metadata">

**Author:** ![icpixel](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@icpixel](https://forums.unrealengine.com/u/icpixel)\
**Post date:** [May 24, 2025, 9:00pm UTC](https://forums.unrealengine.com/t/geometry-collections-and-distance-fields-ray-tracing/869546/10 "2025-05-24T21:00:49Z")

</div>

bump same normal / black artifact on fractured geo in pathtracer.

---

<div class="post-metadata">

**Author:** ![BOB.cat](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@BOB.cat](https://forums.unrealengine.com/u/BOB.cat)\
**Post date:** [June 11, 2025, 1:04pm UTC](https://forums.unrealengine.com/t/geometry-collections-and-distance-fields-ray-tracing/869546/11 "2025-06-11T13:04:39Z")

</div>

This solution no longer works in 5.5.  
Is there another way? Does it work on 5.6?

---

<div class="post-metadata">

**Author:** ![Arkiras](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/arkiras/32/1008648_2.png) [@Arkiras](https://forums.unrealengine.com/u/Arkiras)\
**Post date:** [June 11, 2025, 1:09pm UTC](https://forums.unrealengine.com/t/geometry-collections-and-distance-fields-ray-tracing/869546/12 "2025-06-11T13:09:25Z")

</div>

> [@BOB.cat](#):
>
> work on 5.6?

It should work in 5.5 as long as you are not using Nanite geometry collections, Nanite fallback geo generation is broken in 5.5 but fixed in 5.6.

---

<div class="post-metadata">

**Author:** ![BOB.cat](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@BOB.cat](https://forums.unrealengine.com/u/BOB.cat)\
**Post date:** [June 11, 2025, 1:19pm UTC](https://forums.unrealengine.com/t/geometry-collections-and-distance-fields-ray-tracing/869546/13 "2025-06-11T13:19:43Z")

</div>

That was it!  
Along with the console command, I unchecked the Nanite switch in the GeometryCollection asset and it worked.  
Thank you.
