OpenGL - Draw multiple objects issue

Hi everyone,

There is some time from my last post in the community, I’m still working on something that I’m calling engine :stuck_out_tongue:

Today I want to get suggestions about rendering a lot of stuff… To test the “power” of my code I put it to run with 5k colored/textured cubes. Running in a full-hd resolution with a good computer I can get max 35~40 FPS with the current solutions. So I want to know what are the best practices to draw a lot of elements. I’ll link the video.

This question comes to me when I try to add a lot of “grass” in a terrain, each grass has 3 faces, textures, normal, transform matrix, etc… But my performance immediately goes down.

Thank you all guys… this forum is the best place to get inspiration :slight_smile:

pehHt9Fqnlg