CullDistanceVolume culls Everything?

Hello, my CullDistanceVolume seems to be culling absolute anything that touches it, regardless of size.

I’ve tried a bunch of different sizes but no matter what, anything in this volume disappears. Placing this effectively wipes out anything it touches (Note that the entire ground, which is Huge, is also gone). Most objects are so big that it’s not even possible to get close enough for them to appear again.

Am I just using this improperly, or what?

Finally found the problem. It looks like the cull distances are working the opposite of what you would think, and what is explained here:

Instead of culling objects below the size, it culls objects above the size.

Is this how it’s actually supposed to work? Or am I still just using it improperly.

Hi Juice-Tin,

As we speak I’ve been making a couple of passes on some new visibility culling documentation (Occlusion Culling, Precomputed Visibility Volumes, and Cull Distance Volumes) that should be out in the not so distant future.

Until then, here are some tips for setting Culling Distances for your Cull Distance Volume that should help you understand better.

When setting Cull Distances in the Cull Distance Volume you will likely always want to set the last one to be Size [some value] and the Distance to be 0. This is important because it makes sure that if you have any actors in the scene that bounds are larger than then value or meet this value they will not cull. If you specify a value the actor will cull and it’s not always something you want to have happen.

Here is an example with some test values and showing the difference.

96832-cdv_democdsettings.png

Example using these settings.

96833-cdv1.gif

Changed the 4: Cull Distance to be a value of 2500.

96834-cdv2.gif

Notice the difference between the two. By adding this last Cull Distance to use a Distance value of 0 we no longer cull any of the actors that fit that size.

Also as an alternative, you can select each actor you never want to be culled out and in its settings uncheck the option for “Allow use with Cull Distance Volume”.

I hope this helps!

Tim