0
\$\begingroup\$

I'm trying to developing a simple cube game (minecraft-like, without voxel). Player can instantiate Cube 1x1x1 in the world. Cube have different texture max size 512x512.

When Camera look at some "big" creation (5-8000 cubes) frame rate drop (from 100fps to 20fps using my Ryzen 4600 with integrated gpu) . To be precise, not all 5-8000 cubes are visible to Camera, so i'm wondering if occlusion culling is working... enter image description here

As you can see Render.OpaqueGeometry is the "heaviest" job.

Do you have some advice, tecnique i can use to optimize it ?

\$\endgroup\$
3

0

You must log in to answer this question.

Browse other questions tagged .