keii @keii.dev · 31/12/2024Is there some other magic i should be doing to draw multiple objects on my screen other than a for loop changing uniforms in opengl? It feels inefficient after doing so much work to draw one 120 0
yui111 @yui111.bsky.social · 31/12/2024yeah, just a for loop dispatching a separate draw call per object is considered inefficient by modern standards. there's multiple different approaches, look up instancing and batch rendering 110 0