azul3d / engine

Azul3D - A 3D game engine written in Go!
https://azul3d.org
Other
606 stars 54 forks source link

Support for Dynamic Batching. #133

Open azul3d-bot opened 8 years ago

azul3d-bot commented 8 years ago

Issue by slimsag Saturday Dec 27, 2014 at 18:20 GMT Originally opened as https://github.com/azul3d/gfx/issues/81


Version 2

Dynamic batching will effectively be giving a so-called 'Batcher' a bunch of arbitrary gfx.Object with different shaders, textures, meshes with large and small numbers of polygons alike, etc and having it just "figure it out" in the best way it can (on it's own).

Explicit batching will always be faster because it has no analysis overhead, and it doesn't have to guess at what the right choice is. Bt as mentioned in the previous issue #19 -- is not always possible, and these situations are where dynamic batching would excel.