Make all unseen objects invisible

Hi there, I would like to know ho to make all the objects behind other objects or that is not currently looked at by the camera to be invisible. I am aware that occlution culling exists, but it’s just not enough for what i need to do.
I’m making a minecraft-like game and I came pretty far with it. I already have random world generation and everything, But with a terrain with only 400x400x400 blocks, it lags like hell and I found this:

Cool right!
This guy found a way to do that blueprint only. So if there are anyone who knows about a tutorial or anything about doing this, I would really love it cuz it would help me alot in games for performance especially on mobile.

Hi ‘’,
Have you “profiled” your scene in order to spot your “bottleneck”?
May I reasonably suspect that you are running some “logic” that may be avoided for non visible entities?

You may want to share your project (or part of it, or any simple version that apply) in private as well. I would be happy to find a way to boost it if I can :wink: