# Fluid sim and VDB render distance limitation

**URL:** <https://forums.unrealengine.com/t/fluid-sim-and-vdb-render-distance-limitation/1277218>\
**Category:** Rendering\
**Tags:** unreal-engine, question\
**Created:** [August 30, 2023, 3:05am UTC](https://forums.unrealengine.com/t/fluid-sim-and-vdb-render-distance-limitation/1277218 "2023-08-30T03:05:27Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![Villitz](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Villitz](https://forums.unrealengine.com/u/Villitz)\
**Post date:** [August 30, 2023, 3:05am UTC](https://forums.unrealengine.com/t/fluid-sim-and-vdb-render-distance-limitation/1277218/1 "2023-08-30T03:05:27Z")

</div>

I have been encountering a render distance limitation with fluid sims and imported VDBs and haven’t been able to locate a setting in the actor, materials, or a CVAR that can extend it.

I’ve encountered this since experimenting with the fluid sim and VDBs (via the Eidos Montreal plugin before native support rolled out in 5.3 preview). Does anyone have any idea how to extend this render distance, or any leads as to where to look for a potential solution?

I hope/doubt it will be necessary, but my team is willing to fix it in source and recompile if that end up being necessary. Just looking to fully investigate the issue before doing that unnecessarily.

[https://d3kjluh73b9h9o.cloudfront.net/original/4X/c/1/f/c1f486813c42cfb98b04db40ec58636383d19342.mp4](https://d3kjluh73b9h9o.cloudfront.net/original/4X/c/1/f/c1f486813c42cfb98b04db40ec58636383d19342.mp4)

---

<div class="post-metadata">

**Author:** ![Lucky\_Monk57](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/lucky_monk57/32/924213_2.png) [@Lucky\_Monk57](https://forums.unrealengine.com/u/Lucky_Monk57)\
**Post date:** [September 15, 2023, 6:36pm UTC](https://forums.unrealengine.com/t/fluid-sim-and-vdb-render-distance-limitation/1277218/2 "2023-09-15T18:36:13Z")

</div>

Hi,

Increase the value of the following CVar:

`r.HeterogeneousVolumes.MaxTraceDistance`

---

<div class="post-metadata">

**Author:** ![Villitz](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Villitz](https://forums.unrealengine.com/u/Villitz)\
**Post date:** [September 22, 2023, 1:03am UTC](https://forums.unrealengine.com/t/fluid-sim-and-vdb-render-distance-limitation/1277218/3 "2023-09-22T01:03:54Z")

</div>

Thank you so much, that worked perfectly! Just out of curiosity, where online or in documentation would this be? I had a heck of a time finding anything out regarding this issue.

---

<div class="post-metadata">

**Author:** ![Lucky\_Monk57](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/lucky_monk57/32/924213_2.png) [@Lucky\_Monk57](https://forums.unrealengine.com/u/Lucky_Monk57)\
**Post date:** [September 22, 2023, 9:08pm UTC](https://forums.unrealengine.com/t/fluid-sim-and-vdb-render-distance-limitation/1277218/4 "2023-09-22T21:08:45Z")

</div>

Hi Villitz,

There isn’t much documentation at this time - being it is a very new and experimental feature in 5.3.

However there are already some good community threads on the topic and related topics:

- [5.3 Heterogeneous Volume Rendering tips and tricks - #2 by Sebastian](https://forums.unrealengine.com/t/5-3-heterogeneous-volume-rendering-tips-and-tricks/1291002/2)

- [Niagara Fluids: Getting Started with 3D Gas Systems | Tutorial](https://dev.epicgames.com/community/learning/tutorials/4Oov/unreal-engine-niagara-fluids-getting-started-with-3d-gas-systems)

---

<div class="post-metadata">

**Author:** ![system](https://d3kjluh73b9h9o.cloudfront.net/original/4X/7/1/3/713c9d3f58553f0de89543d76a8a3a2779dc9fa4.png) [@system](https://forums.unrealengine.com/u/system)\
**Post date:** [October 22, 2023, 9:09pm UTC](https://forums.unrealengine.com/t/fluid-sim-and-vdb-render-distance-limitation/1277218/5 "2023-10-22T21:09:02Z")

</div>

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.
