1

The general recipe for efficient instance drawing is as follows: Send mesh data once. Generate and send attribute array, where each row contains instance coordinates and possibly other information (color, animation, etc), one row per instance. Configure attribute array to be updated (glVertexAttribDivisor) per instance, as opposed to per vertex by default. ...


Only top voted, non community-wiki answers of a minimum length are eligible