Skip to content

Instantly share code, notes, and snippets.

@bw2012
Created December 17, 2022 17:40
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save bw2012/4721949791ad5d73445b58ccead6a54c to your computer and use it in GitHub Desktop.
Save bw2012/4721949791ad5d73445b58ccead6a54c to your computer and use it in GitHub Desktop.
UE5 UE4 visualize occluded objects
Editor only console command: r.visualizeOccludedPrimitives 1
This will render a green bounds box for any objects that are occluded.
Adjusting the bounds scale will increase the green bounding box and can cause the mesh to be rendered even when it’s not in view.
https://forums.unrealengine.com/t/how-does-object-occlusion-and-culling-work-in-ue4/334141
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment