# \[UE5.5\]What are the bounds of distance fields and how can I set it?

**URL:** <https://forums.unrealengine.com/t/ue5-5-what-are-the-bounds-of-distance-fields-and-how-can-i-set-it/2231292>\
**Category:** Rendering\
**Tags:** unreal-engine, question\
**Created:** [December 19, 2024, 1:33am UTC](https://forums.unrealengine.com/t/ue5-5-what-are-the-bounds-of-distance-fields-and-how-can-i-set-it/2231292 "2024-12-19T01:33:41Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![AlienRenders](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@AlienRenders](https://forums.unrealengine.com/u/AlienRenders)\
**Post date:** [December 19, 2024, 1:33am UTC](https://forums.unrealengine.com/t/ue5-5-what-are-the-bounds-of-distance-fields-and-how-can-i-set-it/2231292/1 "2024-12-19T01:33:42Z")

</div>

I can’t seem to find any information on how to determine the bounds of the distance field. My levels are tiny. In the project settings, there’s an entry for “Distance Field Voxel Density”. Ok, but density relative to what? Even if it’s per cubic area, knowing the bounds would be nice. I thought it might use the lightmass importance volume, but clearly not.

What are the bounds of the distance fields? Can I set it?

---

<div class="post-metadata">

**Author:** ![Ivan3z](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Ivan3z](https://forums.unrealengine.com/u/Ivan3z)\
**Post date:** [December 19, 2024, 3:22am UTC](https://forums.unrealengine.com/t/ue5-5-what-are-the-bounds-of-distance-fields-and-how-can-i-set-it/2231292/2 "2024-12-19T03:22:17Z")

</div>

Here is some information about it

> **[Mesh Distance Fields Properties in Unreal Engine | Unreal Engine 5.5...](https://dev.epicgames.com/documentation/en-us/unreal-engine/mesh-distance-fields-properties-in-unreal-engine)**
>
> A reference page for all the Mesh Distance Field settings that can be found in the Project Settings, Light Components, Static Mesh Editor, and individua...

---

<div class="post-metadata">

**Author:** ![AlienRenders](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@AlienRenders](https://forums.unrealengine.com/u/AlienRenders)\
**Post date:** [December 19, 2024, 3:54am UTC](https://forums.unrealengine.com/t/ue5-5-what-are-the-bounds-of-distance-fields-and-how-can-i-set-it/2231292/3 "2024-12-19T03:54:57Z")

</div>

Yeah, I’ve read that page several times before posting. I can’t find any information there about the bounds.

---

<div class="post-metadata">

**Author:** ![jwatte](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/jwatte/32/744941_2.png) [@jwatte](https://forums.unrealengine.com/u/jwatte)\
**Post date:** [December 19, 2024, 4:10am UTC](https://forums.unrealengine.com/t/ue5-5-what-are-the-bounds-of-distance-fields-and-how-can-i-set-it/2231292/4 "2024-12-19T04:10:09Z")

</div>

As far as I understand it, the distance fields are built inside the bounding box of the mesh.  
The voxel density controls the amount of slices along each dimension that the bounding box is sliced in.

So, a 10x10x10 voxel subdivision might use 1k of VRAM, a 100x100x100 subdivision would use 1M of VRAM!

---

<div class="post-metadata">

**Author:** ![AlienRenders](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@AlienRenders](https://forums.unrealengine.com/u/AlienRenders)\
**Post date:** [December 19, 2024, 5:00am UTC](https://forums.unrealengine.com/t/ue5-5-what-are-the-bounds-of-distance-fields-and-how-can-i-set-it/2231292/5 "2024-12-19T05:00:11Z")

</div>

Yeah, I have no issues with the mesh part of it. Just wondering if the global distance field is dynamic or has a fixed size. I can’t imagine it’s pieced together every frame.

Actually, I do have a question about mesh distance fields. Is there a different distance field for each LOD? In the editor, it doesn’t seem like it. It’s always showing the same distance field for all the LODs of my mesh. But maybe the global distance field changes resolution???

The problem I’m having is that if I have a capture render camera that’s really far away, it starts either disabling the distance field shadows or using a different LOD (for shadows). I can’t figure out what’s going on exactly. But the end result is that the main camera and the capture camera end up fighting for what kind of shadows they want and the shadows start flickering. Can distance field shadows be disabled if the camera is too far away? Is it possible it reverts to CSM? I thought CSM was close to medium distance and distance field shadows were for really far away.
