How to disable frustum culling for a camera or for specific models? (SOLVED)

Hello everyone, I am trying to disable frustum culling on a camera (if possible, would like it to affect with models with weapon tag) but not sure how to do it. I am using my custom render script to alway render weapon tagged models at the top and on it, I tried setting the use_frustum to false but did not work

 local camera_component = state.cameras.camera_component
 camera_component.camera = camera_components[i]
 render.set_camera(camera_component.camera, { use_frustum = true }) -> false

Is it possible to stop it for a camera of specific models in a group?

The render.draw function also has an option for passing in a viewproj matrix for frustum culling – can you make sure that’s set to nil as well?

1 Like

Thank you! Setting it nil solved the issue :slight_smile: