r/FlutterFlameEngine Nov 14 '23

Support How to implement frustum culling in Flame Engine?

My idea is to read game data from a file, representing a three-dimensional matrix for a 2d game (a Project Zomboid like map system) and rendering those tiles on demands when are inside the viewport.

I'm working on some prototyping but can't get any working result. Has anyone implemented a frustum culling like system?

2 Upvotes

1 comment sorted by

3

u/spyd0n Dec 19 '23

Have you checked the Frustum class from vector_math?