distance culling on a heterogenous volume

I am trying to build a scene with a series of VDB clouds rendered using a heterogeneous volume. I am having trouble turning off distance culling on the clouds/volume, because some of them are out the render range of the scene camera and therefore are completely invisible. Any advice?

hey there I was just searching for this answer myself! At first I was sure it must be some setting in the “Exponential Height Fog” actor but no.

Turns out the console command you are looking for is:
r.HeterogeneousVolumes.MaxTraceDistance [number]
Not sure what the default is (it’s more than 5000) but it’s too short for real world clouds :wink: I set it to 50000 and that fixed my problem.

Thanks to this post: 5.3 Heterogeneous Volume Rendering tips and tricks

1 Like