#Occlusion Culling with Raycasts?

1 messages · Page 1 of 1 (latest)

narrow arrow
#

I am trying to find a proper way to make Occlusion Culling in my project for better optimization, and my first thought was to use racasts but, I'm not sure on how to set it up to it's full potential aka how to use raycast and raycast params to achieve the best output and if it is even the best option to use raycast in the first place.

elfin aspen
#

roblox already does it

#

it wouldnt be much help if you do it too

narrow arrow
#

Doesn't it only work when a part blocks the other parts instead of the camera not looking at it?

elfin aspen
#

that's frustum culling

#

and roblox does it too

narrow arrow
#

From what I see it does a bad job at it.

elfin aspen
#

well you wouldnt see it

#

because its out of your vision

narrow arrow
#

No not like that.

#

Sometimes the part still renders even when another thick part blocks it from my camera view.