Culling but still getting frame rate drops

How do I cull better? Below is what I have as far as culling in a forest setting. I tried some script that I found on the forums here but it kept locking my camera. For reference: Im using the first person perspective camera, the trees in question are blender generated full 3d trees using the create sapling generator and then saved as glbs, I have a fog effect running as well as 3d particle system. Is there a better way to cull items than what Im currently doing?

Just so you understand what you are doing
Imagine i am wizard
I give you watermelon like big heavy one into your hands
Now with a little bit of magic i make that watermelon invisible
So like you cannot see it anymore
Even so its still there
Tell me did that watermelon get any lighter just cause i made it invisible?
Or it is still as heavy as it was when it was visible?

And THAT is exactly what you are doing

I have this old events setup for object culling
Tiles is just object group
It could be called Enemies

And idea is it deletes what is close to being BEYOND edge of screen
And creating it created back when its getting close to what you actually see

Margin for how farm from edge of screen it should work is that padding variable on top so just make it higher

1 Like

A true magician would make it vanish and become weightless.

For that you need to pay
For free it only becomes invisible

What are the function icons f(x) from? How does one create those?

Add condtion type compare

Go for compare two numbers

1 Like