I don’t know what constitutes a ‘Beginner’ question, but if I have to ask then odds are it is one.
I’m developing an engine that currently instance-draws many different grass objects on the screen (and nothing else). When I rotate the camera so that the grass is off-screen, the frame rate increases VERY significantly (measured by checking a timestamp at the beginning of each rendering cycle. Problematic?)
The real problem that I’m wrestling with is that it happens even though I do not have culling set up. As I understood it, if the object lands off-screen the engine still goes through the rigo mora of calculating all the piece-parts as if it were to be painted in earnest. Clearly my understanding is off. Something about OpenGL knows my objects aren’t being viewed, but I don’t understand what it is.
Any initial suggestions? I’m hoping it’s obvious before I need to copy-paste code.